summaryrefslogtreecommitdiffstats
path: root/clang/test/Modules/fmodules-validate-once-per-build-session.c
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2019-05-08 13:42:44 +0000
committerAaron Ballman <aaron@aaronballman.com>2019-05-08 13:42:44 +0000
commitef317e0561ae92392ee93d1b4ab11d21e80acfe1 (patch)
treec4689b894e204cc4ff48b3c9759339be419ac6ff /clang/test/Modules/fmodules-validate-once-per-build-session.c
parentcc433095f29c9c4de563831ef05987f325cd9fff (diff)
downloadbcm5719-llvm-ef317e0561ae92392ee93d1b4ab11d21e80acfe1.tar.gz
bcm5719-llvm-ef317e0561ae92392ee93d1b4ab11d21e80acfe1.zip
Allow test to pass after 2030.
Patch by Bernhard M. Wiedemann. llvm-svn: 360254
Diffstat (limited to 'clang/test/Modules/fmodules-validate-once-per-build-session.c')
-rw-r--r--clang/test/Modules/fmodules-validate-once-per-build-session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Modules/fmodules-validate-once-per-build-session.c b/clang/test/Modules/fmodules-validate-once-per-build-session.c
index dc552eaabde..840545bb59f 100644
--- a/clang/test/Modules/fmodules-validate-once-per-build-session.c
+++ b/clang/test/Modules/fmodules-validate-once-per-build-session.c
@@ -51,8 +51,8 @@
// RUN: not diff %t/modules-to-compare/Foo-before-user.pcm %t/modules-to-compare/Foo-after-user.pcm
// ===
-// Recompile the module if the today's date is before 01 January 2030.
-// RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache -fsyntax-only -isystem %t/Inputs -fbuild-session-timestamp=1893456000 -fmodules-validate-once-per-build-session %s
+// Recompile the module if the today's date is before 01 January 2100.
+// RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache -fsyntax-only -isystem %t/Inputs -fbuild-session-timestamp=4102441200 -fmodules-validate-once-per-build-session %s
// RUN: ls -R %t/modules-cache | grep Foo.pcm.timestamp
// RUN: cp %t/modules-cache/Foo.pcm %t/modules-to-compare/Foo-after.pcm
OpenPOWER on IntegriCloud