On 2013-11-04 10:59-0000 PULVERAIL, Sebastien wrote:

Hi there,

I have been using cmake for a while now, but just for compilation.. Now, I am 
trying to use ctest/cdash for doing my tools validation.

I need to do a combinatorial validation running my tests multiple times and in a random 
order. So I found the "--schedule-option" to run tests in a random order.. But 
I don't know how to specify ctest to run a test multiple times.

If it is not possible, is there someone which tool I can use?

Thanks for your help.

Hi Sébastien:

If what you want to do is run ctest (say) 1000 times,
then under bash on Linux or bash.exe on MSYS/Windows, the following
should work:

ncount=1000
for count in $(seq $ncount); do
  echo "executing ctest for count = $count out of $ncount"
  ctest
done

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
__________________________
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to