[Lldb-commits] [lldb] r181736 - Unset CFLAGS/CXXFLAGS when running tests via cmake/make check targets
Daniel Malea
daniel.malea at intel.com
Mon May 13 14:41:35 PDT 2013
Author: dmalea
Date: Mon May 13 16:41:35 2013
New Revision: 181736
URL: http://llvm.org/viewvc/llvm-project?rev=181736&view=rev
Log:
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
Modified:
lldb/trunk/test/CMakeLists.txt
lldb/trunk/test/Makefile
Modified: lldb/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/CMakeLists.txt?rev=181736&r1=181735&r2=181736&view=diff
==============================================================================
--- lldb/trunk/test/CMakeLists.txt (original)
+++ lldb/trunk/test/CMakeLists.txt Mon May 13 16:41:35 2013
@@ -26,12 +26,12 @@ set(LLDB_TRACE_DIR "${CMAKE_BINARY_DIR}/
)
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
Modified: lldb/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/Makefile?rev=181736&r1=181735&r2=181736&view=diff
==============================================================================
--- lldb/trunk/test/Makefile (original)
+++ lldb/trunk/test/Makefile Mon May 13 16:41:35 2013
@@ -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))"
More information about the lldb-commits
mailing list