File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ import ClangModule
7
7
8
8
// 1. Test that swift-ide-test creates a thin module without debug info.
9
9
10
+ // RUN: %empty-directory(%t)
10
11
// RUN: %swift-ide-test_plain -print-usrs -target %target-triple -module-cache-path %t -I %S/Inputs -source-filename %s
11
- // RUN: %target-swift-frontend %s -c -g -o %t.o -module-cache-path %t -I %S/Inputs
12
- // RUN: file %t/*/ClangModule-*.pcm | grep data
12
+ // RUN: head -c 4 %t/*/ClangModule-*.pcm | grep -q CPCH
13
13
14
14
// 2. Test that swift is creating clang modules with debug info.
15
15
16
16
// RUN: %empty-directory(%t)
17
17
// RUN: %target-swift-frontend %s -c -g -o %t.o -module-cache-path %t -I %S/Inputs
18
- // RUN: file %t/*/ClangModule-*.pcm | egrep '(Mach-O|ELF)'
18
+ // RUN: file %t/*/ClangModule-*.pcm | egrep -q '(Mach-O|ELF)'
19
19
20
20
// 3. Test that swift-ide-check will not share swiftc's module cache.
21
21
You can’t perform that action at this time.
0 commit comments