diff options
| author | Daniel Malea <daniel.malea@intel.com> | 2013-05-13 21:41:35 +0000 |
|---|---|---|
| committer | Daniel Malea <daniel.malea@intel.com> | 2013-05-13 21:41:35 +0000 |
| commit | b218b7f22a4cea7d65318268a7b150ed80986417 (patch) | |
| tree | 6ff52d26d3f4841d4f93efdcc7347312f10f32db | |
| parent | 09ec3a51c69de0fdf8805d7bcd71f92d767af066 (diff) | |
| download | bcm5719-llvm-b218b7f22a4cea7d65318268a7b150ed80986417.tar.gz bcm5719-llvm-b218b7f22a4cea7d65318268a7b150ed80986417.zip | |
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
| -rw-r--r-- | lldb/test/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | lldb/test/Makefile | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt index c38d294e138..1c5afb5da59 100644 --- a/lldb/test/CMakeLists.txt +++ b/lldb/test/CMakeLists.txt @@ -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 diff --git a/lldb/test/Makefile b/lldb/test/Makefile index 64e62af26a2..d298131d54c 100644 --- a/lldb/test/Makefile +++ b/lldb/test/Makefile @@ -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))" |

