File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
test/ParseableInterface/ModuleCache Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 19
19
//
20
20
// RUN: not %target-swift-frontend -I %t -module-cache-path %t/modulecache -emit-module -o %t/TestModule.swiftmodule -module-name TestModule %s >%t/err.txt 2>&1
21
21
// RUN: test ! -f %t/TestModule.swiftmodule
22
- // RUN: test ! -f %t/modulecache/LeafModule-*.swiftmodule
22
+ // This avoids a problem in Windows with test ! -f 'foo*' for a file that doesn't exist
23
+ // RUN: %{python} -c "import sys; import glob; sys.exit(len(glob.glob('%t/modulecache/LeafModule-*.swiftmodule')) != 0)"
23
24
// RUN: %FileCheck %s -check-prefix=CHECK-ERR <%t/err.txt
24
25
// CHECK-ERR: {{error: unsupported version of module interface '.*[/\\]LeafModule.swiftinterface': '9999.999'}}
25
26
// CHECK-ERR: error: no such module 'LeafModule
You can’t perform that action at this time.
0 commit comments