Browse Source

Merge topic 'make-install-test-serial'

bce24e1 Avoid running CMake.Install test simultaneously with other tests
Brad King 15 years ago
parent
commit
fff676d8cd
1 changed files with 3 additions and 0 deletions
  1. 3 0
      Tests/CMakeInstall.cmake

+ 3 - 0
Tests/CMakeInstall.cmake

@@ -41,6 +41,9 @@ if(CMake_TEST_INSTALL)
     --build-noclean
     --build-target install)
 
+  # Avoid running this test simultaneously with other tests:
+  set_tests_properties(CMake.Install PROPERTIES RUN_SERIAL ON)
+
   # TODO: Make all other tests depend on this one, and then drive them
   # with the installed CTest.
 else()