[cfe-dev] Fwd: r176080 - Define CMake option CLANG_INCLUDE_TESTS *before* traversing into tests/ subdirectory. Otherwise, while configuring the build tree for the first time, Clang unit tests could avoid being added to 'check-clang' command, and thus avoid being built and executed.
samsonov at google.com
Tue Feb 26 01:54:03 PST 2013
Forwarding to cfe-dev
This is a fixup for r174698. It *may* be the case that your working/fresh
build tree / build bot doesn't run Clang unit tests when you
run "make check-clang" or "make check-all". The symptom is the following
line in "make check-clang":
lit.py: discovery.py:169: warning: test suite 'Clang-Unit' contained no
To fix this you may need to apply this revision and do a clean rebuild.
Date: Tue Feb 26 03:43:27 2013
New Revision: 176080
Define CMake option CLANG_INCLUDE_TESTS *before* traversing into tests/
subdirectory. Otherwise, while configuring the build tree for the first
time, Clang unit tests could avoid being added to 'check-clang' command,
and thus avoid being built and executed.
--- cfe/trunk/CMakeLists.txt (original)
+++ cfe/trunk/CMakeLists.txt Tue Feb 26 03:43:27 2013
@@ -276,13 +276,13 @@ add_subdirectory(runtime)
option(CLANG_BUILD_EXAMPLES "Build CLANG example programs by default." OFF)
-# TODO: docs.
"Generate build targets for the Clang unit tests."
+# TODO: docs.
if( CLANG_INCLUDE_TESTS )
cfe-commits mailing list
cfe-commits at cs.uiuc.edu
Alexey Samsonov, MSK
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-dev