From 901e1283cee64d0de5e0f77533b605d8256416f8 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Wed, 8 May 2019 13:42:44 +0000 Subject: [PATCH] Allow test to pass after 2030. Patch by Bernhard M. Wiedemann. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360254 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Modules/fmodules-validate-once-per-build-session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Modules/fmodules-validate-once-per-build-session.c b/test/Modules/fmodules-validate-once-per-build-session.c index dc552eaabd..840545bb59 100644 --- a/test/Modules/fmodules-validate-once-per-build-session.c +++ b/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 -- 2.40.0