Browse Source

Modelchecker test split

tempestpy_adaptions
Jan Karuc 5 years ago
parent
commit
b8b6dab6db
  1. 41
      src/test/storm/CMakeLists.txt
  2. 0
      src/test/storm/modelchecker/abstraction/GameBasedDtmcModelCheckerTest.cpp
  3. 0
      src/test/storm/modelchecker/abstraction/GameBasedMdpModelCheckerTest.cpp
  4. 0
      src/test/storm/modelchecker/csl/CtmcCslModelCheckerTest.cpp
  5. 0
      src/test/storm/modelchecker/csl/MarkovAutomatonCslModelCheckerTest.cpp
  6. 0
      src/test/storm/modelchecker/exploration/SparseExplorationModelCheckerTest.cpp
  7. 0
      src/test/storm/modelchecker/multiobjective/SparseDtmcMultiDimensionalRewardUnfoldingTest.cpp
  8. 0
      src/test/storm/modelchecker/multiobjective/SparseMaCbMultiObjectiveModelCheckerTest.cpp
  9. 0
      src/test/storm/modelchecker/multiobjective/SparseMaPcaaMultiObjectiveModelCheckerTest.cpp
  10. 0
      src/test/storm/modelchecker/multiobjective/SparseMdpCbMultiObjectiveModelCheckerTest.cpp
  11. 0
      src/test/storm/modelchecker/multiobjective/SparseMdpMultiDimensionalRewardUnfoldingTest.cpp
  12. 0
      src/test/storm/modelchecker/multiobjective/SparseMdpPcaaMultiObjectiveModelCheckerTest.cpp
  13. 0
      src/test/storm/modelchecker/prctl/ConditionalDtmcPrctlModelCheckerTest.cpp
  14. 0
      src/test/storm/modelchecker/prctl/DtmcPrctlModelCheckerTest.cpp
  15. 0
      src/test/storm/modelchecker/prctl/ExplicitDtmcPrctlModelCheckerTest.cpp
  16. 0
      src/test/storm/modelchecker/prctl/ExplicitMdpPrctlModelCheckerTest.cpp
  17. 0
      src/test/storm/modelchecker/prctl/LraDtmcPrctlModelCheckerTest.cpp
  18. 0
      src/test/storm/modelchecker/prctl/LraMdpPrctlModelCheckerTest.cpp
  19. 0
      src/test/storm/modelchecker/prctl/MdpPrctlModelCheckerTest.cpp
  20. 0
      src/test/storm/modelchecker/prctl/QuantileQueryTest.cpp
  21. 0
      src/test/storm/modelchecker/prctl/SchedulerGenerationMdpPrctlModelCheckerTest.cpp
  22. 0
      src/test/storm/modelchecker/reachability/SparseDtmcEliminationModelCheckerTest.cpp

41
src/test/storm/CMakeLists.txt

@ -9,15 +9,32 @@ register_source_groups_from_filestructure("${ALL_FILES}" test)
# Note that the tests also need the source files, except for the main file
include_directories(${GTEST_INCLUDE_DIR})
foreach (testsuite abstraction adapter builder logic modelchecker parser permissiveschedulers solver storage transformer utility)
file(GLOB_RECURSE TEST_${testsuite}_FILES ${STORM_TESTS_BASE_PATH}/${testsuite}/*.h ${STORM_TESTS_BASE_PATH}/${testsuite}/*.cpp)
add_executable (test-${testsuite} ${TEST_${testsuite}_FILES} ${STORM_TESTS_BASE_PATH}/storm-test.cpp)
target_link_libraries(test-${testsuite} storm storm-parsers storm-conv)
target_link_libraries(test-${testsuite} ${STORM_TEST_LINK_LIBRARIES})
add_dependencies(test-${testsuite} test-resources)
add_test(NAME run-test-${testsuite} COMMAND $<TARGET_FILE:test-${testsuite}>)
add_dependencies(tests test-${testsuite})
endforeach ()
# Set split and non-split test directories
set(NON_SPLIT_TESTS abstraction adapter builder logic parser permissiveschedulers solver storage transformer utility)
set(MODELCHECKER_TEST_SPLITS abstraction csl exploration multiobjective prctl reachability)
function(configure_testsuite_target testsuite)
#message(CONFIGURING TESTSUITE '${testsuite}') #DEBUG
target_link_libraries(test-${testsuite} storm storm-parsers storm-conv)
target_link_libraries(test-${testsuite} ${STORM_TEST_LINK_LIBRARIES})
add_dependencies(test-${testsuite} test-resources)
add_test(NAME run-test-${testsuite} COMMAND $<TARGET_FILE:test-${testsuite}>)
add_dependencies(tests test-${testsuite})
endfunction()
foreach(testsuite ${NON_SPLIT_TESTS})
file(GLOB_RECURSE TEST_${testsuite}_FILES ${STORM_TESTS_BASE_PATH}/${testsuite}/*.h ${STORM_TESTS_BASE_PATH}/${testsuite}/*.cpp)
add_executable(test-${testsuite} ${TEST_${testsuite}_FILES} ${STORM_TESTS_BASE_PATH}/storm-test.cpp)
configure_testsuite_target(${testsuite})
endforeach()
# Modelchecker testsuite split
foreach(modelchecker_split ${MODELCHECKER_TEST_SPLITS})
file(GLOB_RECURSE TEST_MODELCHECKER_${modelchecker_split}_FILES ${STORM_TESTS_BASE_PATH}/modelchecker/${modelchecker_split}/*.h ${STORM_TESTS_BASE_PATH}/modelchecker/${modelchecker_split}/*.cpp)
foreach(tmp ${TEST_MODELCHECKER_${modelchecker_split}_FILES})
message(${tmp})
endforeach()
add_executable(test-modelchecker-${modelchecker_split} ${TEST_MODELCHECKER_${modelchecker_split}_FILES} ${STORM_TESTS_BASE_PATH}/storm-test.cpp)
configure_testsuite_target(modelchecker-${modelchecker_split})
endforeach()

0
src/test/storm/modelchecker/GameBasedDtmcModelCheckerTest.cpp → src/test/storm/modelchecker/abstraction/GameBasedDtmcModelCheckerTest.cpp

0
src/test/storm/modelchecker/GameBasedMdpModelCheckerTest.cpp → src/test/storm/modelchecker/abstraction/GameBasedMdpModelCheckerTest.cpp

0
src/test/storm/modelchecker/CtmcCslModelCheckerTest.cpp → src/test/storm/modelchecker/csl/CtmcCslModelCheckerTest.cpp

0
src/test/storm/modelchecker/MarkovAutomatonCslModelCheckerTest.cpp → src/test/storm/modelchecker/csl/MarkovAutomatonCslModelCheckerTest.cpp

0
src/test/storm/modelchecker/SparseExplorationModelCheckerTest.cpp → src/test/storm/modelchecker/exploration/SparseExplorationModelCheckerTest.cpp

0
src/test/storm/modelchecker/SparseDtmcMultiDimensionalRewardUnfoldingTest.cpp → src/test/storm/modelchecker/multiobjective/SparseDtmcMultiDimensionalRewardUnfoldingTest.cpp

0
src/test/storm/modelchecker/SparseMaCbMultiObjectiveModelCheckerTest.cpp → src/test/storm/modelchecker/multiobjective/SparseMaCbMultiObjectiveModelCheckerTest.cpp

0
src/test/storm/modelchecker/SparseMaPcaaMultiObjectiveModelCheckerTest.cpp → src/test/storm/modelchecker/multiobjective/SparseMaPcaaMultiObjectiveModelCheckerTest.cpp

0
src/test/storm/modelchecker/SparseMdpCbMultiObjectiveModelCheckerTest.cpp → src/test/storm/modelchecker/multiobjective/SparseMdpCbMultiObjectiveModelCheckerTest.cpp

0
src/test/storm/modelchecker/SparseMdpMultiDimensionalRewardUnfoldingTest.cpp → src/test/storm/modelchecker/multiobjective/SparseMdpMultiDimensionalRewardUnfoldingTest.cpp

0
src/test/storm/modelchecker/SparseMdpPcaaMultiObjectiveModelCheckerTest.cpp → src/test/storm/modelchecker/multiobjective/SparseMdpPcaaMultiObjectiveModelCheckerTest.cpp

0
src/test/storm/modelchecker/ConditionalDtmcPrctlModelCheckerTest.cpp → src/test/storm/modelchecker/prctl/ConditionalDtmcPrctlModelCheckerTest.cpp

0
src/test/storm/modelchecker/DtmcPrctlModelCheckerTest.cpp → src/test/storm/modelchecker/prctl/DtmcPrctlModelCheckerTest.cpp

0
src/test/storm/modelchecker/ExplicitDtmcPrctlModelCheckerTest.cpp → src/test/storm/modelchecker/prctl/ExplicitDtmcPrctlModelCheckerTest.cpp

0
src/test/storm/modelchecker/ExplicitMdpPrctlModelCheckerTest.cpp → src/test/storm/modelchecker/prctl/ExplicitMdpPrctlModelCheckerTest.cpp

0
src/test/storm/modelchecker/LraDtmcPrctlModelCheckerTest.cpp → src/test/storm/modelchecker/prctl/LraDtmcPrctlModelCheckerTest.cpp

0
src/test/storm/modelchecker/LraMdpPrctlModelCheckerTest.cpp → src/test/storm/modelchecker/prctl/LraMdpPrctlModelCheckerTest.cpp

0
src/test/storm/modelchecker/MdpPrctlModelCheckerTest.cpp → src/test/storm/modelchecker/prctl/MdpPrctlModelCheckerTest.cpp

0
src/test/storm/modelchecker/QuantileQueryTest.cpp → src/test/storm/modelchecker/prctl/QuantileQueryTest.cpp

0
src/test/storm/modelchecker/SchedulerGenerationMdpPrctlModelCheckerTest.cpp → src/test/storm/modelchecker/prctl/SchedulerGenerationMdpPrctlModelCheckerTest.cpp

0
src/test/storm/modelchecker/SparseDtmcEliminationModelCheckerTest.cpp → src/test/storm/modelchecker/reachability/SparseDtmcEliminationModelCheckerTest.cpp

Loading…
Cancel
Save