Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Only one file to configure ctest
[simgrid.git] / buildtools / Cmake / CMakeLists.txt
index 05d3e55..b842c4b 100644 (file)
@@ -25,14 +25,13 @@ ENABLE_TESTING()
 INCLUDE(CTest)
 INCLUDE(Dart)
 
-# Configure Ctest
-SET (UPDATE_TYPE "svn")
-SET (CTEST_CUSTOM_MAXIMUM_PASSED_TEST_OUTPUT_SIZE 100000)
-SET (CTEST_CUSTOM_MAXIMUM_FAILED_TEST_OUTPUT_SIZE 100000)
-
-INCLUDE(CTestConfig.txt)
+INCLUDE(CTestCustom.ctest)
 INCLUDE(CTestList.txt)
 
+# Install the CTest configuration in the build dir
+configure_file(CTestCustom.ctest ${CMAKE_BINARY_DIR}/CTestCustom.ctest
+COPYONLY)
+
 #SET (CMAKE_COMPILER_IS_GNUCXX 1)
 #SET (CMAKE_COMPILER_IS_GNUCC 1)