mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
9faf6091cf
This patch tidies up the llvm-strings testing by: 1. Adding comments to every test. 2. Getting rid of canned input files, and having the tests generate them on the fly (this makes the tests self-contained). 3. Adding missing test coverage. 4. Renaming some tests that weren't clear as to their purpose. 5. Adding extra checking of various cases, formatting etc. 6. Removing a test that didn't seem to have any useful purpose for testing llvm-strings. Reviewed by: rupprecht, grimar, MaskRay Differential Revision: https://reviews.llvm.org/D66015 llvm-svn: 368555
7 lines
269 B
Plaintext
7 lines
269 B
Plaintext
## Show that llvm-strings can handle a negative signed char value (i.e. > 0x7f).
|
|
## Such characters should form string delimiters like other unprintable ones.
|
|
|
|
# RUN: echo -e "z\0\x80\0a\0" | llvm-strings --bytes 1 - | FileCheck %s
|
|
# CHECK: z{{$}}
|
|
# CHECK-NEXT: {{^}}a
|