[CMake] make test

Alexander Neundorf a.neundorf-work at gmx.net
Fri Mar 28 15:59:19 EDT 2008


On Friday 28 March 2008, Alan W. Irwin wrote:
> On 2008-03-14 13:04-0700 Alan W. Irwin wrote:
> > Another concern with the current "make test" is it does not depend on the
> > default "all" target.  That is a bad oversight IMO, since the current
> > situation is you will be running out-of-date tests after some code fixup
> > unless you remember to run "make" before "make test".
>
> I just was reminded I reported this as bug
> http://public.kitware.com/Bug/view.php?id=4615 in March last year.
>
> No action yet.

Actually I would recommend to run ctest directly, you can do much more with 
it.
Then it's also more obvious that it doesn't depend on all
(but still that would be nice to have in some way, but when ctest runs it 
doesn't know a lot about the build).

Alex


More information about the CMake mailing list