[LLVMbugs] [Bug 8438] cmake: "make check" warns about unittests

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 28 07:19:53 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=8438

Óscar Fuentes <ofv at wanadoo.es> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Óscar Fuentes <ofv at wanadoo.es> 2010-10-28 09:19:53 CDT ---
By default, LLVM_BUILD_TESTS is OFF, which means that unittests are not built
with the rest of LLVM. If you wish to include the unit tests on `make check',
reconfigure with -DLLVM_BUILD_TESTS=ON or explicitly build some of them:

make ADTTests AnalysisTests
make check

It would be good to not emit the warning from lit.py when there are no
unittests, but cmake can not anticipate if you intend to build them separately
later.

Adressing the specific concern raised by Duncan, if the warning displayed by
lit.py is not clear enough, that should be fixed in lit.py. CMake cannot do
anything about it.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list