Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Add some test properties for tests which are expected to faill.
[simgrid.git] / buildtools / Cmake / CMakeLists.txt
index 5c753be..aeda560 100644 (file)
@@ -12,26 +12,24 @@ OPTION( SIMGRID_USE_GTNETS "Build SimGrid with GTNets support." OFF )
 ### Check 32bits or 64bits
 INCLUDE (CheckTypeSize)
 CHECK_TYPE_SIZE("int" SIZEOF_INT)
-
 IF(SIZEOF_INT EQUAL 4)
   SET(ARCH_32_BITS 1)
+       message("ARCH_32_BITS")
 ELSE(SIZEOF_INT EQUAL 4)
-  SET(ARCH_64_BITS 1)
+  SET(ARCH_32_BITS 0)
+       message("ARCH_64_BITS")
 ENDIF(SIZEOF_INT EQUAL 4)
 
-INCLUDE(CTestConfig.txt)
 
 ### Enable tests
+INCLUDE(CTestConfig.cmake)
 ENABLE_TESTING()
 INCLUDE(CTest)
 INCLUDE(Dart)
-
-
 INCLUDE(CTestList.txt)
 
 # Install the CTest configuration in the build dir
-configure_file(CTestCustom.ctest ${CMAKE_BINARY_DIR}/CTestCustom.ctest
-COPYONLY)
+configure_file(CTestConfig.cmake ${CMAKE_BINARY_DIR}/CTestCustom.ctest COPYONLY)
 
 #SET (CMAKE_COMPILER_IS_GNUCXX 1)
 #SET (CMAKE_COMPILER_IS_GNUCC 1)