diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-17 07:13:32 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-17 07:13:32 +0000 |
commit | e75ee0f0c8f8cf603c7894f9442f81faf11c2ff6 (patch) | |
tree | 9ff53065671bce8db52fea63c808f9494098b614 /clang/test/Modules/explicit-build-missing-files.cpp | |
parent | 88edc8243d6d0c4f091d9f99e8916b0b52b456a2 (diff) | |
download | bcm5719-llvm-e75ee0f0c8f8cf603c7894f9442f81faf11c2ff6.tar.gz bcm5719-llvm-e75ee0f0c8f8cf603c7894f9442f81faf11c2ff6.zip |
[modules] When explicitly building a module file, don't include timestamps in
the produced pcm file for stable file creation across distributed build
systems.
llvm-svn: 245199
Diffstat (limited to 'clang/test/Modules/explicit-build-missing-files.cpp')
-rw-r--r-- | clang/test/Modules/explicit-build-missing-files.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Modules/explicit-build-missing-files.cpp b/clang/test/Modules/explicit-build-missing-files.cpp index ff79a116e6b..b2730e4f227 100644 --- a/clang/test/Modules/explicit-build-missing-files.cpp +++ b/clang/test/Modules/explicit-build-missing-files.cpp @@ -21,6 +21,10 @@ // RUN: rm %t/other.modulemap // RUN: %clang_cc1 -fmodules -I %t -fmodule-file=%t/a.pcm %s // RUN: not %clang_cc1 -fmodules -I %t -fmodule-file=%t/a.pcm %s -DERRORS 2>&1 | FileCheck %s +// RUN: sleep 1 +// RUN: touch %t/a.h +// RUN: %clang_cc1 -fmodules -I %t -fmodule-file=%t/a.pcm %s +// RUN: not %clang_cc1 -fmodules -I %t -fmodule-file=%t/a.pcm %s -DERRORS 2>&1 | FileCheck %s // RUN: rm %t/b.h // RUN: %clang_cc1 -fmodules -I %t -fmodule-file=%t/a.pcm %s // RUN: not %clang_cc1 -fmodules -I %t -fmodule-file=%t/a.pcm %s -DERRORS 2>&1 | FileCheck %s --check-prefix=MISSING-B |