Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Move page store test from the integration test into the unit test infrastructure
[simgrid.git] / buildtools / Cmake / UnitTesting.cmake
index 7800769..95ee93f 100644 (file)
@@ -28,6 +28,13 @@ set(TEST_UNITS
   ${CMAKE_CURRENT_BINARY_DIR}/src/simgrid_units_main.c
   )
 
+if(HAVE_MC)
+  set(TEST_CFILES ${TEST_CFILES}
+      src/mc/mc_page_store.cpp)
+  set(TEST_UNITS ${TEST_UNITS}
+     ${CMAKE_CURRENT_BINARY_DIR}/src/mc_page_store_unit.cpp)
+endif()
+
 ADD_CUSTOM_COMMAND(
   OUTPUT       ${TEST_UNITS}