|
17 | 17 |
|
18 | 18 | // ===
|
19 | 19 | // Compile the module.
|
20 |
| -// 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=1390000000 -fmodules-validate-once-per-build-session %s |
21 |
| -// RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s |
| 20 | +// RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache -fsyntax-only -isystem %t/Inputs -fmodules-validate-system-headers -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s |
| 21 | +// RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t/Inputs -fmodules-validate-system-headers -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s |
22 | 22 | // RUN: ls -R %t/modules-cache | grep Foo.pcm.timestamp
|
23 | 23 | // RUN: ls -R %t/modules-cache | grep Bar.pcm.timestamp
|
24 | 24 | // RUN: ls -R %t/modules-cache-user | grep Foo.pcm.timestamp
|
|
30 | 30 |
|
31 | 31 | // ===
|
32 | 32 | // Use it, and make sure that we did not recompile it.
|
33 |
| -// 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=1390000000 -fmodules-validate-once-per-build-session %s |
34 |
| -// RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s |
| 33 | +// RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache -fsyntax-only -isystem %t/Inputs -fmodules-validate-system-headers -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s |
| 34 | +// RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t/Inputs -fmodules-validate-system-headers -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s |
35 | 35 | // RUN: ls -R %t/modules-cache | grep Foo.pcm.timestamp
|
36 | 36 | // RUN: ls -R %t/modules-cache | grep Bar.pcm.timestamp
|
37 | 37 | // RUN: ls -R %t/modules-cache-user | grep Foo.pcm.timestamp
|
|
54 | 54 | // ===
|
55 | 55 | // Use the module, and make sure that we did not recompile it if foo.h or
|
56 | 56 | // module.map are system files, even though the sources changed.
|
57 |
| -// 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=1390000000 -fmodules-validate-once-per-build-session %s |
58 |
| -// RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t/Inputs -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s |
| 57 | +// RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache -fsyntax-only -isystem %t/Inputs -fmodules-validate-system-headers -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s |
| 58 | +// RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache-user -fsyntax-only -I %t/Inputs -fmodules-validate-system-headers -fbuild-session-timestamp=1390000000 -fmodules-validate-once-per-build-session %s |
59 | 59 | // RUN: ls -R %t/modules-cache | grep Foo.pcm.timestamp
|
60 | 60 | // RUN: ls -R %t/modules-cache | grep Bar.pcm.timestamp
|
61 | 61 | // RUN: ls -R %t/modules-cache-user | grep Foo.pcm.timestamp
|
|
73 | 73 |
|
74 | 74 | // ===
|
75 | 75 | // Recompile the module if the today's date is before 01 January 2100.
|
76 |
| -// 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 |
| 76 | +// RUN: %clang_cc1 -cc1 -fmodules -fimplicit-module-maps -fdisable-module-hash -fmodules-cache-path=%t/modules-cache -fsyntax-only -isystem %t/Inputs -fmodules-validate-system-headers -fbuild-session-timestamp=4102441200 -fmodules-validate-once-per-build-session %s |
77 | 77 | // RUN: ls -R %t/modules-cache | grep Foo.pcm.timestamp
|
78 | 78 | // RUN: ls -R %t/modules-cache | grep Bar.pcm.timestamp
|
79 | 79 | // RUN: cp %t/modules-cache/Foo.pcm %t/modules-to-compare/Foo-after.pcm
|
|
0 commit comments