diff options
author | Sean Silva <chisophugis@gmail.com> | 2015-09-02 20:16:09 +0000 |
---|---|---|
committer | Sean Silva <chisophugis@gmail.com> | 2015-09-02 20:16:09 +0000 |
commit | 0df0391fb64049ed6548ea84bee794b47c59a2e7 (patch) | |
tree | 41c5b571c704b6b21691fd7f1a567eceaca47b95 /clang/test/Modules/module-map-path-hash.cpp | |
parent | 54f29bc2cdd2368c09b3e35e900b7aad3b60d7d3 (diff) | |
download | llvm-0df0391fb64049ed6548ea84bee794b47c59a2e7.zip llvm-0df0391fb64049ed6548ea84bee794b47c59a2e7.tar.gz llvm-0df0391fb64049ed6548ea84bee794b47c59a2e7.tar.bz2 |
[modules] Tighten up this test a bit.
llvm-svn: 246702
Diffstat (limited to 'clang/test/Modules/module-map-path-hash.cpp')
-rw-r--r-- | clang/test/Modules/module-map-path-hash.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/clang/test/Modules/module-map-path-hash.cpp b/clang/test/Modules/module-map-path-hash.cpp index ccfa96e..e5c9d75 100644 --- a/clang/test/Modules/module-map-path-hash.cpp +++ b/clang/test/Modules/module-map-path-hash.cpp @@ -1,9 +1,10 @@ // RUN: rm -rf %t -// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -Rmodule-build -I%S/Inputs/module-map-path-hash -fmodules-cache-path=%t -fsyntax-only %s -// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -Rmodule-build -I%S/Inputs//module-map-path-hash -fmodules-cache-path=%t -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s -// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -Rmodule-build -I%S/Inputs/./module-map-path-hash -fmodules-cache-path=%t -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s -// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -Rmodule-build -I%S/Inputs/../Inputs/module-map-path-hash -fmodules-cache-path=%t -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s +// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -Rmodule-build -I%S/Inputs/module-map-path-hash -fmodules-cache-path=%t -fsyntax-only %s 2>&1 | FileCheck %s --check-prefix=BUILD +// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -Rmodule-build -I%S/Inputs//module-map-path-hash -fmodules-cache-path=%t -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s --check-prefix=NOBUILD +// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -Rmodule-build -I%S/Inputs/./module-map-path-hash -fmodules-cache-path=%t -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s --check-prefix=NOBUILD +// RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x c++ -Rmodule-build -I%S/Inputs/../Inputs/module-map-path-hash -fmodules-cache-path=%t -fsyntax-only %s 2>&1 | FileCheck -allow-empty %s --check-prefix=NOBUILD #include "a.h" -// CHECK-NOT: remark: building module +// BUILD: remark: building module +// NOBUILD-NOT: remark: building module |