Skip to content

Commit

Permalink
[llvm-readobj][test][NFC] - Use "--check-prefix" instead of "--check-…
Browse files Browse the repository at this point in the history
…prefixes".

We have the `--check-prefixes` invocation for a single suffix.
It is cleaner to use `--check-prefix` in this case.
  • Loading branch information
Georgii Rymar committed Oct 30, 2020
1 parent 772adb7 commit 16ab0b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-readobj/ELF/needed-libs.test
Expand Up @@ -58,7 +58,7 @@ ProgramHeaders:
## Check what we print when the dynamic string table is empty.
# RUN: yaml2obj %s --docnum=2 -o %t2
# RUN: llvm-readobj --needed-libs %t2 2>&1 | \
# RUN: FileCheck %s -DFILE=%t2 --implicit-check-not=warning: --check-prefixes=EMPTY-DYNSTR
# RUN: FileCheck %s -DFILE=%t2 --implicit-check-not=warning: --check-prefix=EMPTY-DYNSTR
# RUN: llvm-readelf --needed-libs %t2 2>&1 | \
# RUN: FileCheck %s -DFILE=%t2 --implicit-check-not=warning: --check-prefix=EMPTY-DYNSTR

Expand Down

0 comments on commit 16ab0b6

Please sign in to comment.