Hi,
We found a scenario when when ctest does not detect a build error.
This occurs when clang is invoked as a linker and one of the libraries is not
found:
/Developer/usr/bin/clang++ -LDIR1 -LDIR2 -lib1 -lib2 -lib3 [...] -o MyApp
ld: library not found for -lprofile_rt
Command /Developer/usr/bin/clang++ failed with exit code 1
The two lines printed after this invocation are not matched by any of the
regular expressions defined in Source/CTest/cmCTestBuildHandler.cxx
So, in our case, we have an incomplete build, and the error is not reported to
the dashboard.
I think lines matching "clang\+* failed with exit code" should be considered
errors and reported as such.
sincerely,
Alex Ciobanu
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers