teak-llvm/clang/test/Driver/verbose-output-quoting.c
Hans Wennborg 6424db8740 Add 'REQUIRES: shell' to verbose-output-quoting.c
The lit shell couldn't handle these run lines.

llvm-svn: 359081
2019-04-24 10:12:30 +00:00

11 lines
615 B
C

// REQUIRES: shell
// RUN: %clang --verbose -DSPACE="a b" -c %s 2>&1 | FileCheck -check-prefix=SPACE -strict-whitespace %s
// RUN: %clang --verbose -DQUOTES=\"\" -c %s 2>&1 | FileCheck -check-prefix=QUOTES -strict-whitespace %s
// RUN: %clang --verbose -DBACKSLASH=\\ -c %s 2>&1 | FileCheck -check-prefix=BACKSLASH -strict-whitespace %s
// RUN: %clang --verbose -DDOLLAR=\$ -c %s 2>&1 | FileCheck -check-prefix=DOLLAR -strict-whitespace %s
// SPACE: -cc1 {{.*}} -D "SPACE=a b"
// QUOTES: -cc1 {{.*}} -D "QUOTES=\"\""
// BACKSLASH: -cc1 {{.*}} -D "BACKSLASH=\\"
// DOLLAR: -cc1 {{.*}} -D "DOLLAR=\$"