[CMake] CTest: Weird behaviour

Michael Wild themiwi at gmail.com
Tue Oct 19 04:26:23 EDT 2010


On 19. Oct, 2010, at 10:21 , Marcel Loose wrote:

> Hi all,
> 
> I stumbled upon IMHO weird behaviour of CTest.
> It seems that compilation errors are not picked up, somehow. Look at the
> output of a run of "ctest -V -D ExperimentalBuild" below.
> 
> /export/home/loose/work/LOFAR_trunk/LOFAR/LCS/pyparameterset/src/pyparameterset.cc:22:27:
> error: lofar_config.hh: No such file or directory
> Linking CXX shared
> module
> ../../../lib64/python2.6/site-packages/lofar/parameterset/_pyparameterset.so
> g++: CMakeFiles/_pyparameterset.dir/pyparameterset.cc.o: No such file or
> directory
> [ 96%] Built target _pyparameterset
> [ 98%] Built target lofar_pyparameterset
> [100%] Built target versionpyparameterset
> Size of output: 1K
> Command exited with the value: 0
>   0 or more Compiler errors
>   0 Compiler warnings
> Elapsed: 0:12.30 - CPU: 9.944u+1.396s = 92.1%
> 
> The compiler fails to compile pyparmeterset.cc, because it cannot find
> one of the files that are #include-d. CTest, however, reports 0 compiler
> errors and exits with status 0.
> 
> Could someone please explain what's going on here?
> 
> Best regards,
> Marcel Loose.

I observed the same behavior, but so far didn't have the time to investigate...

Michael

--
There is always a well-known solution to every human problem -- neat, plausible, and wrong.
H. L. Mencken

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101019/8f5ad369/attachment-0001.pgp>


More information about the CMake mailing list