CMake-2.8.4 (and prior versions of 2.8.x?) has a bug where ctests are done in arbitrary order rather than in the order of the add_test commands.  According to cmake mailing lists remarks, this bug will be fixed in 2.8.5.  However, from the results of this bug the examples_compare test was done first which reminded me that test depends on other tests to prepare the files that are needed. Therefore, I have put in that inter-test dependency via the DEPENDS property you can set with set_tests_properties for cmake-2.8.x (but not cmake-2.6.x which requires some extra cmake version logic).  That change works around the arbitrary ordering bug for cmake-2.8.4 and is a good idea on general principles (say if someone ever wanted to try to get parallel ctests to work).
CMake-2.8.4 (and prior versions of 2.8.x?) has a bug where ctests are
done in arbitrary order rather than in the order of the add_test
commands.  According to cmake mailing lists remarks, this bug will be
fixed in 2.8.5.  However, from the results of this bug the
examples_compare test was done first which reminded me that test
depends on other tests to prepare the files that are needed.
Therefore, I have put in that inter-test dependency via the DEPENDS
property you can set with set_tests_properties for cmake-2.8.x (but
not cmake-2.6.x which requires some extra cmake version logic).  That
change works around the arbitrary ordering bug for cmake-2.8.4 and is
a good idea on general principles (say if someone ever wanted to try
to get parallel ctests to work).


svn path=/trunk/; revision=11652

FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot,FreeScienceCommunity/PLPlot