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:
Daniel Malea 2013-05-13 21:41:35 +00:00
parent 09ec3a51c6
commit b218b7f22a
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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))"