Skip to content

Commit

Permalink
Revert "[TLI checker] Add more tests"
Browse files Browse the repository at this point in the history
This reverts commit 2778554.

Some bots are failing on the updated tests.
  • Loading branch information
pogo59 committed Dec 2, 2021
1 parent 53adfa8 commit 8cd61aa
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 208 deletions.
43 changes: 0 additions & 43 deletions llvm/test/tools/llvm-tli-checker/coff-reject.test

This file was deleted.

32 changes: 0 additions & 32 deletions llvm/test/tools/llvm-tli-checker/error-cases.test

This file was deleted.

117 changes: 0 additions & 117 deletions llvm/test/tools/llvm-tli-checker/multi-file.yaml

This file was deleted.

22 changes: 6 additions & 16 deletions llvm/test/tools/llvm-tli-checker/ps4-tli-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,17 @@
#
## This produces an object that has _ZdaPvj instead of _ZdaPv.
# RUN: yaml2obj %s -DZDAPV=_ZdaPvj -o=%t2
# RUN: llvm-tli-checker --triple x86_64-scei-ps4 %t2 | \
# RUN: echo %t2 > %t2.txt
# RUN: llvm-tli-checker --triple x86_64-scei-ps4 @%t2.txt | \
# RUN: FileCheck %s --check-prefixes=WRONG_SUMMARY,WRONG_DETAIL \
# RUN: --implicit-check-not="==" --implicit-check-not="<<" --implicit-check-not=">>"
#
## --report=discrepancy is the default, check we get the same output.
# RUN: llvm-tli-checker --triple x86_64-scei-ps4 %t2 --report=discrepancy | \
# RUN: FileCheck %s --check-prefixes=WRONG_SUMMARY,WRONG_DETAIL \
# RUN: --implicit-check-not="==" --implicit-check-not="<<" --implicit-check-not=">>"
#
## --report=summary should not print the details (checked by the
## implicit-check-not strings).
# RUN: llvm-tli-checker --triple x86_64-scei-ps4 %t.dir/bad --report=summary | \
# RUN: llvm-tli-checker --triple x86_64-scei-ps4 @%t2.txt --report=summary | \
# RUN: FileCheck %s --check-prefix=WRONG_SUMMARY \
# RUN: --implicit-check-not="==" --implicit-check-not="<<" --implicit-check-not=">>"
#
## --separate implies --report=summary.
# RUN: llvm-tli-checker --triple x86_64-scei-ps4 %t2 --separate | \
## Also use a response file to show we support that.
# RUN: llvm-tli-checker --triple x86_64-scei-ps4 @%t2.txt --separate | \
# RUN: FileCheck %s --check-prefix=WRONG_SUMMARY \
# RUN: --implicit-check-not="==" --implicit-check-not="<<" --implicit-check-not=">>"
#
Expand All @@ -43,14 +37,10 @@
#
## The -COUNT suffix doesn't care if there are too many matches, so check
## the exact count first; the two directives should add up to that.
## Yes, this means additions to TLI will fail this test, but the argument
## to -COUNT can't be an expression.
# AVAIL: TLI knows 468 symbols, 235 available
# AVAIL-COUNT-235: {{^}} available
# UNAVAIL-COUNT-233: not available
# UNAVAIL-COUNT-231: not available

## This is a large file so it's worth telling lit to stop here.
# END.

--- !ELF
FileHeader:
Expand Down

0 comments on commit 8cd61aa

Please sign in to comment.