Author: cbieneman Date: Wed Nov 2 12:19:26 2016 New Revision: 285839 URL: http://llvm.org/viewvc/llvm-project?rev=285839&view=rev Log: [CMake] Support LLDB_TEST_CLANG in check-lldb target(s)
This just hooks up the in-tree compiler to be optionally used when running the test suite. Modified: lldb/trunk/test/CMakeLists.txt Modified: lldb/trunk/test/CMakeLists.txt URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/CMakeLists.txt?rev=285839&r1=285838&r2=285839&view=diff ============================================================================== --- lldb/trunk/test/CMakeLists.txt (original) +++ lldb/trunk/test/CMakeLists.txt Wed Nov 2 12:19:26 2016 @@ -53,6 +53,10 @@ set(LLDB_TEST_ARCH # change has made its way through bots to clean up their CMake caches. string(REPLACE "-C;${LLDB_TEST_COMPILER}" "" LLDB_TEST_USER_ARGS_New "${LLDB_TEST_USER_ARGS}") +if(LLDB_TEST_CLANG) + set(LLDB_TEST_COMPILER $<TARGET_FILE:clang>) +endif() + # Users can override LLDB_TEST_USER_ARGS to specify arbitrary arguments to pass to the script set(LLDB_TEST_USER_ARGS "${LLDB_TEST_USER_ARGS_New}" _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits