[CMake] Re: 'make test' fails on x86/Solaris

Alan W. Irwin irwin at beluga.phys.uvic.ca
Fri Mar 16 14:07:59 EST 2007


On 2007-03-16 11:14-0500 Matthew Woehlke wrote:

> Bill Hoffman wrote:
>> I am not sure everyone would be happy if make test depend on all.   I 
>> don't think that the typical unix make check will build anything will it? 
>> The idea was to have the standard:
>> 
>> make
>> make test
>
> Shouldn't that be "make check"? :-)
> (http://www.cmake.org/Bug/bug.php?op=show&bugid=4564)
>
>> make install
>> 
>> I guess the downside would be extra depend checking when running tests on 
>> large projects.
>
> I don't think Alan's comments are at all relevant, as I don't see 'make all' 
> being in any way related.

If you always remember to run "make" (or the equivalent "make all") before
"make test" then you have worked around the dependency issue I found, and
indeed you seem to have found an additional bug (a discrepancy between
running make test and ctest). which is not relevant to that dependency
issue.

However, CMake/CTest users should not have to always remember to do the
workaround so that is why I reported the dependency issue as bug 4615.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list