[CMake] 2.8.4 order of tests

Allen D Byrne byrn at hdfgroup.org
Thu Feb 17 16:20:32 EST 2011


This was from a clean build folder. And I just want the test to run in the order defined in the CMakeLists.txt files. Also never had set any COST properties. The surprise was that this never happened before.

Allen

> On Thu, Feb 17, 2011 at 4:08 PM, David Cole <david.cole at kitware.com> wrote:
> > On Thu, Feb 17, 2011 at 3:57 PM, Allen D Byrne <byrn at hdfgroup.org> wrote:
> >> I just installed 2.8.4 and on my fedora 14 linux box the ctest -D
> >> Experimental stage decided to run the tests in some unknown to me order. The
> >> previous versions always ran them in order of definition. Any thing I can do
> >> to get the ordering back?
> >>
> >> Allen
> >>
> >> _______________________________________________
> >> Powered by www.kitware.com
> >>
> >> Visit other Kitware open-source projects at
> >> http://www.kitware.com/opensource/opensource.html
> >>
> >> Please keep messages on-topic and check the CMake FAQ at:
> >> http://www.cmake.org/Wiki/CMake_FAQ
> >>
> >> Follow this link to subscribe/unsubscribe:
> >> http://www.cmake.org/mailman/listinfo/cmake
> >>
> >
> > Delete the file "Testing/Temporary/CTestCostData.txt" in your build
> > tree. It saves run times from run to run and orders them as "slowest
> > first" on subsequent runs.
> >
> > A clean build (no CostData file) without any parallel testing, and
> > without any test COST properties defined should give you the top to
> > bottom ordering that you're used to.
> >
> > Saving this data from run to run helps us schedule parallel testing
> > jobs efficiently on subsequent runs.
> >
> >
> > HTH,
> > David
> >
> 
> 
> Having said all that: if your goal is to order certain tests with
> respect to each other, see the help for the test property "DEPENDS":
> http://cmake.org/cmake/help/cmake-2-8-docs.html#prop_test:DEPENDS
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110217/d9eb7fd2/attachment.htm>


More information about the CMake mailing list