aboutsummaryrefslogtreecommitdiff
path: root/clang
diff options
context:
space:
mode:
authorIlya Biryukov <ibiryukov@google.com>2019-01-16 13:18:59 +0000
committerIlya Biryukov <ibiryukov@google.com>2019-01-16 13:18:59 +0000
commite56d65a120a807a26de1358148e8af774b794f36 (patch)
tree29f00aba3f87042b4be5a9a18de3a25a782eb1c4 /clang
parent1bdc04976786c657fb6d9c1f32ea9aae3d2f7faf (diff)
Set '-target' flag in the test checking the MacOS include dir
To fix a buildbot failure on PS4, see http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/42251 The test was added in r351222 and aims to check only a particular Mac configuration. However it relied on the default compiler target by default, therefore unintentionally failing on PS4. llvm-svn: 351334
Diffstat (limited to 'clang')
-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 035155c96c92..fd0003e9b382 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
@@ -10,7 +10,7 @@
//
// 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++
+// RUN: %t/mock-libcxx/bin/clang-check -p "%t" "%t/test.cpp" -- -stdlib=libc++ -target x86_64-apple-darwin
#include <mock_vector>
vector v;