This revision was automatically updated to reflect the committed changes. Closed by commit rL351752: [test] Pass -ccc-install-dir in mac compilation db test (authored by mgorny, committed by ). Herald added a subscriber: llvm-commits.
Changed prior to commit: https://reviews.llvm.org/D56976?vs=182785&id=182803#toc Repository: rL LLVM CHANGES SINCE LAST ACTION https://reviews.llvm.org/D56976/new/ https://reviews.llvm.org/D56976 Files: cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp Index: cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp =================================================================== --- cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp +++ cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp @@ -10,6 +10,11 @@ // // 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 +// RUN: "%t/mock-libcxx/bin/clang-check" -p %t %t/test.cpp -- \ +// RUN: -stdlib=libc++ -target x86_64-apple-darwin \ +// RUN: -ccc-install-dir %t/mock-libcxx/bin +// +// ^ -ccc-install-dir passed to unbreak tests on *BSD where +// getMainExecutable() relies on real argv[0] being passed #include <mock_vector> vector v;
Index: cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp =================================================================== --- cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp +++ cfe/trunk/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp @@ -10,6 +10,11 @@ // // 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 +// RUN: "%t/mock-libcxx/bin/clang-check" -p %t %t/test.cpp -- \ +// RUN: -stdlib=libc++ -target x86_64-apple-darwin \ +// RUN: -ccc-install-dir %t/mock-libcxx/bin +// +// ^ -ccc-install-dir passed to unbreak tests on *BSD where +// getMainExecutable() relies on real argv[0] being passed #include <mock_vector> vector v;
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits