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 | 1eaaadc2171777e95b60869cb51675a75a00f4db (patch) | |
tree | 07a993a2255e5575d767913a9460290b4b9b150d /test/Modules/module-map-path-hash.cpp | |
parent | 06a1797e155e0f766b28c735d2df360ade71aea5 (diff) | |
download | clang-1eaaadc2171777e95b60869cb51675a75a00f4db.tar.gz |
[modules] Tighten up this test a bit.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Modules/module-map-path-hash.cpp')
-rw-r--r-- | test/Modules/module-map-path-hash.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/Modules/module-map-path-hash.cpp b/test/Modules/module-map-path-hash.cpp index ccfa96ebd2..e5c9d7507c 100644 --- a/test/Modules/module-map-path-hash.cpp +++ b/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 |