Browse Source

Add a high COST value to BootstrapTest so that it will be scheduled first in parallel ctest executions.

Zach Mullen 16 years ago
parent
commit
1c13f57313
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Tests/CMakeLists.txt

+ 2 - 0
Tests/CMakeLists.txt

@@ -1483,6 +1483,8 @@ ${CMake_BINARY_DIR}/bin/cmake -DVERSION=CVS -P ${CMake_SOURCE_DIR}/Utilities/Rel
       --test-command 
       ${CMake_BINARY_DIR}/Tests/BootstrapTest/Bootstrap.cmk/cmake)
     LIST(APPEND TEST_BUILD_DIRS "${CMake_BINARY_DIR}/Tests/BootstrapTest")
+    # Make this test run early during parallel execution
+    SET_TESTS_PROPERTIES(BootstrapTest PROPERTIES COST 5000)
 
     # provide more time for the bootstrap test
     GET_TEST_PROPERTY(BootstrapTest TIMEOUT PREVIOUS_TIMEOUT)