summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-01-16 22:05:34 +0000
committerReid Kleckner <rnk@google.com>2019-01-16 22:05:34 +0000
commit7382066bc6aa66a510cdf95d65798d9cc74eb78b (patch)
tree08bdd423ce3c05d11861fac135a79060d8f9c16e
parent58bd01fcb63b9e2fc1117dce15b9d924cc60e171 (diff)
downloadbcm5719-llvm-7382066bc6aa66a510cdf95d65798d9cc74eb78b.tar.gz
bcm5719-llvm-7382066bc6aa66a510cdf95d65798d9cc74eb78b.zip
Fix libc++ mac driver test to pass on Windows
There is a substitution for 'clang-check' to absolutize it, so the '$(which clang-check)' is unnecessary. llvm-svn: 351383
-rw-r--r--clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp b/clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp
index 8c59a2f07f6..3778c395cd1 100644
--- a/clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp
+++ b/clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp
@@ -8,9 +8,8 @@
// Install the mock libc++ (simulates the libc++ directory structure).
// RUN: cp -r %S/Inputs/mock-libcxx %t/
//
-// RUN: cp $(which clang-check) %t/mock-libcxx/bin/
-// RUN: cp "%s" "%t/test.cpp"
-// RUN: %t/mock-libcxx/bin/clang-check -p "%t" "%t/test.cpp" -- -stdlib=libc++ -target x86_64-apple-darwin
-// REQUIRES: system-darwin
+// RUN: cp clang-check %t/mock-libcxx/bin/
+// RUN: cp %s %t/test.cpp
+// RUN: "%t/mock-libcxx/bin/clang-check" -p %t %t/test.cpp -- -stdlib=libc++ -target x86_64-apple-darwin
#include <mock_vector>
vector v;
OpenPOWER on IntegriCloud