Run the tests in serial

This commit is contained in:
Rodrigo Arias 2022-01-11 18:09:18 +01:00
parent 292dda835a
commit e435d2d004

View File

@ -19,11 +19,14 @@ set(OVNI_TEST_DIR "${CMAKE_SOURCE_DIR}/test")
add_executable(flush flush.c) add_executable(flush flush.c)
target_link_libraries(flush ovni) target_link_libraries(flush ovni)
add_test(NAME flush COMMAND "${OVNI_TEST_DIR}/driver.sh" flush) add_test(NAME flush COMMAND "${OVNI_TEST_DIR}/driver.sh" flush)
set_tests_properties(flush PROPERTIES RUN_SERIAL TRUE)
add_executable(mp-simple mp-simple.c) add_executable(mp-simple mp-simple.c)
target_link_libraries(mp-simple ovni) target_link_libraries(mp-simple ovni)
add_test(NAME mp-simple COMMAND "${OVNI_TEST_DIR}/mp-driver.sh" mp-simple) add_test(NAME mp-simple COMMAND "${OVNI_TEST_DIR}/mp-driver.sh" mp-simple)
set_tests_properties(mp-simple PROPERTIES RUN_SERIAL TRUE)
add_executable(mp-rank mp-rank.c) add_executable(mp-rank mp-rank.c)
target_link_libraries(mp-rank ovni) target_link_libraries(mp-rank ovni)
add_test(NAME mp-rank COMMAND "${OVNI_TEST_DIR}/mp-driver.sh" mp-rank) add_test(NAME mp-rank COMMAND "${OVNI_TEST_DIR}/mp-driver.sh" mp-rank)
set_tests_properties(mp-rank PROPERTIES RUN_SERIAL TRUE)