Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Add unit test for mc_snapshot
[simgrid.git] / buildtools / Cmake / UnitTesting.cmake
index 95ee93f..56d60b3 100644 (file)
@@ -30,9 +30,13 @@ set(TEST_UNITS
 
 if(HAVE_MC)
   set(TEST_CFILES ${TEST_CFILES}
-      src/mc/mc_page_store.cpp)
+      src/mc/mc_page_store.cpp
+      src/mc/mc_snapshot.c
+      )
   set(TEST_UNITS ${TEST_UNITS}
-     ${CMAKE_CURRENT_BINARY_DIR}/src/mc_page_store_unit.cpp)
+     ${CMAKE_CURRENT_BINARY_DIR}/src/mc_page_store_unit.cpp
+     ${CMAKE_CURRENT_BINARY_DIR}/src/mc_snapshot_unit.c
+     )
 endif()
 
 ADD_CUSTOM_COMMAND(