[Tests] Update the ParseableInterface tests to use make-old.py due to nondeterministic timestamp issue with touch

This commit is contained in:
Mishal Shah
2019-05-21 17:36:58 -07:00
parent fc0ab61888
commit b21774b8bb
3 changed files with 3 additions and 3 deletions

View File

@@ -11,7 +11,7 @@
// RUN: %target-swift-frontend -compile-module-from-interface -o %t/Build/TestModule.swiftmodule %t/Build/TestModule.swiftinterface
// 4. Touch the interface so the module is no longer up-to-date
// RUN: touch %t/Build/TestModule.swiftinterface
// RUN: %{python} %S/../Inputs/make-old.py %t/Build/TestModule.swiftinterface
// 5. Try to import the out-of-date compiled module
// RUN: %target-swift-frontend -typecheck -verify %s -I %t/Build -Rmodule-interface-rebuild -module-cache-path %t/ModuleCache