From: Jeremy Morse Date: Wed, 16 Jan 2019 17:41:29 +0000 (+0000) Subject: Add a REQUIRES: darwin line for a mac test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d0de09b85ea80b4da888d5555cba1240e119f4e;p=clang 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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@351360 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp b/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp index fd0003e9b3..8c59a2f07f 100644 --- a/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp +++ b/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 vector v;