File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11
11
// RUN: %target-swift-frontend -typecheck %s -I %t/Build -module-cache-path %t/ModuleCache
12
12
13
13
// 4. Touch the interface so the cached module is no longer up-to-date
14
- // RUN: touch %t/Build/TestModule.swiftinterface
14
+ // RUN: %{python} %S/../Inputs/make-old.py %t/Build/TestModule.swiftinterface
15
15
16
16
// 5. Try to import the now out-of-date cached module
17
17
// RUN: %target-swift-frontend -typecheck -verify %s -I %t/Build -Rmodule-interface-rebuild -module-cache-path %t/ModuleCache
Original file line number Diff line number Diff line change 11
11
// RUN: %target-swift-frontend -compile-module-from-interface -o %t/Build/TestModule.swiftmodule %t/Build/TestModule.swiftinterface
12
12
13
13
// 4. Touch the interface so the module is no longer up-to-date
14
- // RUN: touch %t/Build/TestModule.swiftinterface
14
+ // RUN: %{python} %S/../Inputs/make-old.py %t/Build/TestModule.swiftinterface
15
15
16
16
// 5. Try to import the out-of-date compiled module
17
17
// RUN: %target-swift-frontend -typecheck -verify %s -I %t/Build -Rmodule-interface-rebuild -module-cache-path %t/ModuleCache
Original file line number Diff line number Diff line change 9
9
// RUN: %target-swift-frontend -compile-module-from-interface -o %t/Build/InnerModule.swiftmodule %t/Build/InnerModule.swiftinterface
10
10
11
11
// 3. Touch the interface so the module becomes out of date.
12
- // RUN: touch %t/Build/InnerModule.swiftinterface
12
+ // RUN: %{python} %S/../Inputs/make-old.py %t/Build/InnerModule.swiftinterface
13
13
14
14
// 4. Create a module called OuterModule that imports InnerModule, and put its interface into the build dir.
15
15
// RUN: echo 'import InnerModule' | %target-swift-frontend - -emit-module -o %t/Build/OuterModule.swiftmodule -module-name OuterModule -I %t/Build
You can’t perform that action at this time.
0 commit comments