1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/test/Other/lit-quoting.txt
Martin Storsjö 6d561ab20b [lit] Remove unnecessary testcases from lit-quoting.txt that fail on macOS
These were added in 37935405efbebc4bd9f1ffac9152571c6a8469dc,
but they fail on macOS (and on Windows with MSYS based tools, before
relanding D98859). Remove the tests that exercise "not not echo", as
the primary thing to test is the plain echo patterns above.
2021-04-14 15:09:42 +03:00

15 lines
634 B
Plaintext

RUN: echo "\"" | FileCheck %s --check-prefix=CHECK1
RUN: echo '"' | FileCheck %s --check-prefix=CHECK1
RUN: echo 'a[b\c' | FileCheck %s --check-prefix=CHECK2
RUN: echo "a[b\\c" | FileCheck %s --check-prefix=CHECK2
RUN: echo 'a\b\\c\\\\d' | FileCheck %s --check-prefix=CHECK3
RUN: echo "a\\b\\\\c\\\\\\\\d" | FileCheck %s --check-prefix=CHECK3
CHECK1: {{^"$}}
CHECK2: {{^a\[b\\c$}}
CHECK3: {{^a\\b\\\\c\\\\\\\\d$}}
On Windows, with MSYS based tools, the following commands fail though:
RUNX: echo 'a[b\c\\d' | FileCheck %s --check-prefix=CHECK4
RUNX: echo "a[b\\c\\\\d" | FileCheck %s --check-prefix=CHECK4
CHECK4: {{^a\[b\\c\\\\d$}}