mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:29:58 +00:00
[llvm-strings][test] Merge two closely related tests
This is a follow-up to feedback on D66015. Reviewed by: grimar Differential Revision: https://reviews.llvm.org/D67069 llvm-svn: 370643
This commit is contained in:
parent
bd1a6d1125
commit
277b2b47c0
@ -1,5 +0,0 @@
|
||||
## Show that llvm-strings does not print the last string in the input if it is
|
||||
## too short and no unprintable character follows it.
|
||||
|
||||
RUN: echo -n abc | llvm-strings - | FileCheck --allow-empty %s
|
||||
CHECK-NOT: abc
|
@ -1,5 +1,11 @@
|
||||
## Show that llvm-strings prints the last string in the input even if no
|
||||
## unprintable character follows it.
|
||||
|
||||
RUN: echo -n abcdefg | llvm-strings - | FileCheck %s
|
||||
CHECK: abcdefg
|
||||
RUN: echo -n abcdefg | llvm-strings - | FileCheck %s --check-prefix=PRINT
|
||||
PRINT: abcdefg
|
||||
|
||||
## Show that llvm-strings does not print the last string in the input if it is
|
||||
## too short and no unprintable character follows it.
|
||||
|
||||
RUN: echo -n abc | llvm-strings - | FileCheck --allow-empty %s --check-prefix=NOPRINT
|
||||
NOPRINT-NOT: {{.}}
|
||||
|
Loading…
Reference in New Issue
Block a user