summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Morse <jeremy.morse.llvm@gmail.com>2019-01-16 17:41:29 +0000
committerJeremy Morse <jeremy.morse.llvm@gmail.com>2019-01-16 17:41:29 +0000
commitf4bf1161c0fc5bb5e2b1bd6f2bfdf954eb2bfad5 (patch)
treec3b46dab0b80c1c3ead1ca94559170cdc090dd84
parent0805acfefe0442c2ca5de43bcfe2dac978b434cf (diff)
Add a REQUIRES: darwin line for a mac test.
This test, apparently for macs, fails on Windows as lit can't emulate the shell subprocess $(which...) correctly. Some other netbsd and linux buildbots also fail here. Limit to macs as a temporary workaround.
-rw-r--r--clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp2
1 files changed, 1 insertions, 1 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 fd0003e9b38..8c59a2f07f6 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
@@ -11,6 +11,6 @@
// 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
#include <mock_vector>
vector v;