|
18 | 18 | //
|
19 | 19 | // Setup phase 2: build modules, pushing timestamps of inputs and intermediates into the past as we go.
|
20 | 20 | //
|
21 |
| -// RUN: %S/Inputs/make-old.py %t/leaf.swift %t/other.swift |
| 21 | +// RUN: %{python} %S/Inputs/make-old.py %t/leaf.swift %t/other.swift |
22 | 22 | // RUN: %target-swift-frontend -I %t -emit-parseable-module-interface-path %t/LeafModule.swiftinterface -module-name LeafModule %t/leaf.swift -emit-module -o /dev/null
|
23 |
| -// RUN: %S/Inputs/make-old.py %t/LeafModule.swiftinterface |
| 23 | +// RUN: %{python} %S/Inputs/make-old.py %t/LeafModule.swiftinterface |
24 | 24 | // RUN: %target-swift-frontend -I %t -module-cache-path %t/modulecache -enable-parseable-module-interface -emit-parseable-module-interface-path %t/OtherModule.swiftinterface -module-name OtherModule %t/other.swift -emit-module -o /dev/null
|
25 |
| -// RUN: %S/Inputs/make-old.py %t/modulecache/LeafModule-*.swiftmodule %t/OtherModule.swiftinterface |
| 25 | +// RUN: %{python} %S/Inputs/make-old.py %t/modulecache/LeafModule-*.swiftmodule %t/OtherModule.swiftinterface |
26 | 26 | // RUN: %target-swift-frontend -I %t -module-cache-path %t/modulecache -enable-parseable-module-interface -emit-module -o %t/TestModule.swiftmodule -module-name TestModule %s
|
27 |
| -// RUN: %S/Inputs/make-old.py %t/modulecache/OtherModule-*.swiftmodule |
| 27 | +// RUN: %{python} %S/Inputs/make-old.py %t/modulecache/OtherModule-*.swiftmodule |
28 | 28 | //
|
29 | 29 | //
|
30 | 30 | // Actual test: Change a byte in LeafModule.swiftinterface, check both cached modules get rebuilt.
|
31 | 31 | //
|
32 | 32 | // RUN: %{python} %S/Inputs/check-is-old.py %t/OtherModule.swiftinterface %t/LeafModule.swiftinterface
|
33 | 33 | // RUN: %{python} %S/Inputs/check-is-old.py %t/modulecache/OtherModule-*.swiftmodule %t/modulecache/LeafModule-*.swiftmodule
|
34 | 34 | // RUN: sed -e 's/LeafFunc2/LoafFunc2/' -i.prev %t/LeafModule.swiftinterface
|
35 |
| -// RUN: %S/Inputs/make-old.py %t/LeafModule.swiftinterface |
| 35 | +// RUN: %{python} %S/Inputs/make-old.py %t/LeafModule.swiftinterface |
36 | 36 | // RUN: rm %t/TestModule.swiftmodule
|
37 | 37 | // RUN: %target-swift-frontend -I %t -module-cache-path %t/modulecache -enable-parseable-module-interface -emit-module -o %t/TestModule.swiftmodule -module-name TestModule %s
|
38 | 38 | // RUN: %{python} %S/Inputs/check-is-new.py %t/modulecache/OtherModule-*.swiftmodule %t/modulecache/LeafModule-*.swiftmodule
|
|
0 commit comments