Skip to content

Commit

Permalink
[llvm-readobj] Weaken a check in the test added by r354567
Browse files Browse the repository at this point in the history
The check includes a substring, configurable by PACKAGE_NAME in CMake.
This leads to failures if PACKAGE_NAME is not the default.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354586 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
ilya-biryukov committed Feb 21, 2019
1 parent 3256ab6 commit e403fe6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/tools/llvm-readobj/basic.test
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ UNKNOWN: Unknown command line argument '--unknown-switch'
# Test version switch.
RUN: llvm-readobj --version | FileCheck %s --check-prefix=VERSION
RUN: llvm-readelf --version | FileCheck %s --check-prefix=VERSION
VERSION: LLVM version
# In default configuration we could match "LLVM version", but the "LLVM" part
# can be changed with PACKAGE_NAME in CMake, so we match only version.
VERSION: version

# Test help switch.
RUN: llvm-readobj --help | FileCheck %s --check-prefixes=HELP,USAGE-OBJ
Expand Down

0 comments on commit e403fe6

Please sign in to comment.