Browse Source

add custom executor for all gtests

tempestpy_adaptions
Sebastian Junges 8 years ago
parent
commit
8d125345b3
  1. 8
      src/test/CMakeLists.txt
  2. 0
      src/test/storm-test-config.h.in

8
src/test/CMakeLists.txt

@ -8,20 +8,16 @@ register_source_groups_from_filestructure("${ALL_FILES}" test)
include_directories(${GTEST_INCLUDE_DIR})
configure_file (
"${PROJECT_SOURCE_DIR}/src/test/storm-test-config.h.in"
"${PROJECT_BINARY_DIR}/src/test/storm-config.h"
)
foreach (testsuite adapter builder logic modelchecker parser permissiveschedulers solver storage transformer utility)
file(GLOB_RECURSE TEST_${testsuite}_FILES ${STORM_CPP_TESTS_BASE_PATH}/${testsuite}/*.h ${STORM_CPP_TESTS_BASE_PATH}/${testsuite}/*.cpp)
add_executable (test-${testsuite} ${TEST_${testsuite}_FILES})
add_executable (test-${testsuite} ${TEST_${testsuite}_FILES} ${PROJECT_SOURCE_DIR}/src/test/storm-test.cpp)
target_link_libraries(test-${testsuite} storm)
target_link_libraries(test-${testsuite} ${STORM_TEST_LINK_LIBRARIES})
add_dependencies(test-${testsuite} test-resources)
add_test(run-test-${testsuite} test-${testsuite})
endforeach ()

0
src/test/storm-test-config.h.in

Loading…
Cancel
Save