Skip to content

Commit 4e8ca2a

Browse files
committed
Use --check-prefix to split tests
1 parent eab339c commit 4e8ca2a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
// RUN: %clang_cl /std:c++20 --precompile -### -- %s 2>&1 | FileCheck %s
2-
// CHECK: --precompile
1+
// RUN: %clang_cl /std:c++20 --precompile -### -- %s 2>&1 | FileCheck --check-prefix=PRECOMPILE %s
2+
// PRECOMPILE: -emit-module-interface
33

4-
// RUN: %clang_cl /std:c++20 --fmodule-file=Foo=Foo.pcm -### -- %s 2>&1 | FileCheck %s
5-
// CHECK: -fmodule-file=Foo=Foo.pcm
4+
// RUN: %clang_cl /std:c++20 --fmodule-file=Foo=Foo.pcm -### -- %s 2>&1 | FileCheck --check-prefix=FMODULEFILE %s
5+
// FMODULEFILE: -fmodule-file=Foo=Foo.pcm
66

7-
// RUN: %clang_cl /std:c++20 --fprebuilt-module-path=. -### -- %s 2>&1 | FileCheck %s
8-
// CHECK: -fprebuilt-module-path=.
7+
// RUN: %clang_cl /std:c++20 --fprebuilt-module-path=. -### -- %s 2>&1 | FileCheck --check-prefix=FPREBUILT %s
8+
// FPREBUILT: -fprebuilt-module-path=.

0 commit comments

Comments
 (0)