mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Tests] Update the ParseableInterface tests to use make-old.py due to nondeterministic timestamp issue with touch
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user