[cmake-developers] [CMake] How to set _default_ timeout for the ctest command? (fwd)
Alan W. Irwin
irwin at beluga.phys.uvic.ca
Tue Dec 15 02:01:31 EST 2015
On 2015-12-15 07:09+0100 Attila Krasznahorkay wrote:
> Hi Alan,
>
> Are you just looking for the TIMEOUT property on the tests?
Hi Attila:
No. As I said in my post, I tried that test property but
the problem was that absolutely fixed the timeout for the test
so it could not be overriden by the ctest --timeout option.
And similarly for every other way for a project to choose
a timeout.
On the cmake general list, Brad recently answered my original query on this
subject and appears to agree with me that that ctest --timeout
option should always have the highest priority, i.e., override any
timeout set by the project such as the above TIMEOUT property. If the
consensus continues to be that is the desired behaviour it appears
some CMake/CTest code changes will be necessary to change to that
behaviour.
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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); 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-developers
mailing list