r351334 - Set '-target' flag in the test checking the MacOS include dir

Hans Wennborg via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 16 05:46:34 PST 2019


Merged to 8.0 in r351343.

On Wed, Jan 16, 2019 at 2:22 PM Ilya Biryukov via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
>
> Author: ibiryukov
> Date: Wed Jan 16 05:18:59 2019
> New Revision: 351334
>
> URL: http://llvm.org/viewvc/llvm-project?rev=351334&view=rev
> Log:
> 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.
>
> Modified:
>     cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp
>
> Modified: cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp?rev=351334&r1=351333&r2=351334&view=diff
> ==============================================================================
> --- cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp (original)
> +++ cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp Wed Jan 16 05:18:59 2019
> @@ -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;
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits


More information about the cfe-commits mailing list