forked from OSchip/llvm-project
Unset CFLAGS/CXXFLAGS when running tests via cmake/make check targets
- should fix automatic tests set up on http://llvm-jenkins.debian.net - needed in order to make Debian package builds depend on passing test suite llvm-svn: 181736
This commit is contained in:
parent
09ec3a51c6
commit
b218b7f22a
|
@ -26,12 +26,12 @@ set(LLDB_TRACE_DIR "${CMAKE_BINARY_DIR}/lldb-test-traces"
|
|||
)
|
||||
|
||||
set(LLDB_COMMON_TEST_ARGS
|
||||
#--headers
|
||||
#${LLDB_SOURCE_DIR}/include
|
||||
--executable
|
||||
${CMAKE_BINARY_DIR}/bin/lldb
|
||||
-s
|
||||
${LLDB_TRACE_DIR}
|
||||
-u CXXFLAGS
|
||||
-u CFLAGS
|
||||
)
|
||||
|
||||
add_python_test_target(check-lldb-single
|
||||
|
|
|
@ -30,4 +30,4 @@ clean::
|
|||
#----------------------------------------------------------------------
|
||||
check-local::
|
||||
rm -rf lldb-test-traces
|
||||
python $(PROJ_SRC_DIR)/dosep.ty -o "--executable $(ToolDir)/lldb -q -s lldb-test-traces -C $(subst ccache,,$(CC))"
|
||||
python $(PROJ_SRC_DIR)/dosep.ty -o "--executable $(ToolDir)/lldb -q -s lldb-test-traces -u CXXFLAGS -u CFLAGS -C $(subst ccache,,$(CC))"
|
||||
|
|
Loading…
Reference in New Issue