[CMake] tests running out of order on cmake

David Cole david.cole at kitware.com
Tue Jun 28 11:26:43 EDT 2011


This was a bug in 2.8.4 only. You do not have to go all the way back to
2.6.4 to overcome this. You can go back to 2.8.3, if you wish, or preferably
you can use 2.8.5-rc3: anything except for 2.8.4 will give you the in order
behavior that you are expecting and are used to.

HTH,
David

On Tue, Jun 28, 2011 at 10:28 AM, j s <j.s4403 at gmail.com> wrote:

> Thank you everyone for your help.  I finally found this:
> http://public.kitware.com/Bug/view.php?id=11877
>
> And it essentially means that both the Macports and CMake website
> version of cmake (2.8.4) have this issue.  So essentially I'll have to
> revert to cmake 2.6.4 from the cmake website.
>
> Juan
>
> On Tue, Jun 28, 2011 at 9:16 AM, j s <j.s4403 at gmail.com> wrote:
> > Can someone please let me know how to get the Mac OS X version of
> > cmake 2.8.4 to run the tests in the order in which they are added?
> > For some bizarre reason they are running out of order:
> >
> > Sample output (without actual test name).
> >  1/85 Test #64: XXXXXXXXXXXXXXXX .............***Failed    0.01 sec
> >      Start 63: XXXXXXXXXXXXXXXX
> >  2/85 Test #63: XXXXXXXXXXXXXXXX..............   Passed    0.00 sec
> >      Start 62: XXXXXXXXXXXXXXXX
> >  3/85 Test #62: XXXXXXXXXXXXXXXX..............   Passed    0.00 sec
> >      Start 61: XXXXXXXXXXXXXXXX
> >
> > This is preventing from verifying my recent changes on the mac.  The
> > Ubuntu linux version does not have this issue.
> >
> > Juan
> >
> >
> > On Sat, Jun 25, 2011 at 2:51 PM, j s <j.s4403 at gmail.com> wrote:
> >> Unfortunately the problem came back.  I there a command line option to
> >> fix this out of order execution feature.
> >>
> >> Juan
> >>
> >> On Sat, Jun 25, 2011 at 1:30 PM, j s <j.s4403 at gmail.com> wrote:
> >>> I was able to update the cmake dmg from the website, and now my tests
> >>> are running in the proper order.
> >>>
> >>> On Sat, Jun 25, 2011 at 1:23 PM, j s <j.s4403 at gmail.com> wrote:
> >>>> How do I tell the macports version of cmake 2.8.1  on the mac to run
> >>>> the tests in exactly the order they were originally specified?  I'm in
> >>>> the process of updating macports right now to see if it goes back to
> >>>> the sequential default in later versions?  man ctest reveals
> >>>> --schedule-random, but no sequential option.
> >>>>
> >>>> Regards,
> >>>>
> >>>> Juan
> >>>>
> >>>
> >>
> >
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110628/4056791d/attachment.htm>


More information about the CMake mailing list