Lines Matching +full:test +full:- +full:cl
1 // Note: %s must be preceded by --, otherwise it may be interpreted as a
2 // command-line option, e.g. on Mac where %s is commonly under /Users.
4 // RUN: %clang_cl /TC -### -- %s 2>&1 | FileCheck -check-prefix=TC %s
5 // TC: "-x" "c"
6 // TC-NOT: warning
7 // TC-NOT: note
9 // RUN: %clang_cl /TP -### -- %s 2>&1 | FileCheck -check-prefix=TP %s
10 // TP: "-x" "c++"
11 // TP-NOT: warning
12 // TP-NOT: note
14 // RUN: %clang_cl -### /Tc%s /TP -- %s 2>&1 | FileCheck -check-prefix=Tc %s
15 // RUN: %clang_cl -### /TP /Tc%s -- %s 2>&1 | FileCheck -check-prefix=Tc %s
16 // Tc: "-x" "c"
17 // Tc: "-x" "c++"
18 // Tc-NOT: warning
19 // Tc-NOT: note
21 // RUN: %clang_cl -### /Tp%s /TC -- %s 2>&1 | FileCheck -check-prefix=Tp %s
22 // RUN: %clang_cl -### /TC /Tp%s -- %s 2>&1 | FileCheck -check-prefix=Tp %s
23 // Tp: "-x" "c++"
24 // Tp: "-x" "c"
25 // Tp-NOT: warning
26 // Tp-NOT: note
28 // RUN: %clang_cl /TP /TC /TP -### -- %s 2>&1 | FileCheck -check-prefix=WARN %s
32 // WARN-NOT: note
35 // RUN: env LIB=%S/Inputs/cl-libs MSYS2_ARG_CONV_EXCL="/TP;/c" %clang_cl /c /TP cl-test.lib -### 2>…
36 // TPlib: warning: cl-test.lib: 'linker' input unused
38 // TPlib-NOT: cl-test.lib
40 // RUN: env LIB=%S/Inputs/cl-libs MSYS2_ARG_CONV_EXCL="/TC;/c" %clang_cl /c /TC cl-test.lib -### 2>…
41 // TClib: warning: cl-test.lib: 'linker' input unused
43 // TClib-NOT: cl-test.lib
45 // RUN: not %clang_cl - 2>&1 | FileCheck -check-prefix=STDIN %s
48 // RUN: %clang_cl -### /Tc - 2>&1 | FileCheck -check-prefix=STDINTc %s
49 // STDINTc: "-x" "c"
51 // RUN: env LIB=%S/Inputs/cl-libs %clang_cl -### -- %s cl-test.lib 2>&1 | FileCheck -check-prefix=L…
53 // LIBINPUT: "cl-test.lib"
55 // RUN: env LIB=%S/Inputs/cl-libs %clang_cl -### -- %s cl-test2.lib 2>&1 | FileCheck -check-prefix=…
56 // LIBINPUT2: error: no such file or directory: 'cl-test2.lib'
58 // LIBINPUT2-NOT: "cl-test2.lib"
60 // RUN: %clang_cl -### -- %s /nonexisting.lib 2>&1 | FileCheck -check-prefix=LIBINPUT3 %s
63 // LIBINPUT3-NOT: "/nonexisting.lib"