Skip to content
This repository has been archived by the owner on Sep 27, 2021. It is now read-only.

Commit

Permalink
cmake: fix test properties
Browse files Browse the repository at this point in the history
  • Loading branch information
junghans committed Jan 5, 2021
1 parent 2ad63fe commit f77a39b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -375,11 +375,12 @@ if(ENABLE_TESTING)
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${REFPATH}/${_SRC} ${RUNPATH}/${_SRC})
endforeach()
add_test(NAME integration_Run_gmx_grompp_ppy COMMAND ${GMX_EXECUTABLE} grompp WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Run_gmx_grompp_ppy PROPERTIES LABELS "csg;tools;votca")
add_test(NAME integration_Run_csg_boltzmann_ppy
COMMAND $<TARGET_FILE:csg_boltzmann> --top topol.tpr --cg ppy10.xml --excl excl.txt
WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Run_csg_boltzmann_ppy PROPERTIES DEPENDS integration_Run_gmx_grompp_ppy)
set_tests_properties(integration_Run_gmx_grompp_ppy PROPERTIES LABELS "csg;tools;votca")
set_tests_properties(integration_Run_csg_boltzmann_ppy PROPERTIES LABELS "csg;tools;votca")
add_test(NAME Compare_csg_boltzmann_output_ppy COMMAND ${CMAKE_COMMAND} -E compare_files excl.txt ${REFPATH}/excl.txt WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(Compare_csg_boltzmann_output_ppy PROPERTIES DEPENDS integration_Run_csg_boltzmann_ppy)
set_tests_properties(Compare_csg_boltzmann_output_ppy PROPERTIES LABELS "csg;tools;votca")
Expand All @@ -391,11 +392,12 @@ if(ENABLE_TESTING)
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${REFPATH}/${_SRC} ${RUNPATH}/${_SRC})
endforeach()
add_test(NAME integration_Run_gmx_grompp_mma COMMAND ${GMX_EXECUTABLE} grompp WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Run_gmx_grompp_mma PROPERTIES LABELS "csg;tools;votca")
add_test(NAME integration_Run_csg_boltzmann_mma
COMMAND $<TARGET_FILE:csg_boltzmann> --top topol.tpr --cg mapping.xml --excl excl.txt
WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Run_csg_boltzmann_mma PROPERTIES DEPENDS integration_Run_gmx_grompp_mma)
set_tests_properties(integration_Run_gmx_grompp_mma PROPERTIES LABELS "csg;tools;votca")
set_tests_properties(integration_Run_csg_boltzmann_mma PROPERTIES LABELS "csg;tools;votca")
add_test(NAME Compare_csg_boltzmann_output_mma COMMAND ${CMAKE_COMMAND} -E compare_files excl.txt ${REFPATH}/excl.txt WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(Compare_csg_boltzmann_output_mma PROPERTIES DEPENDS integration_Run_csg_boltzmann_mma)
set_tests_properties(Compare_csg_boltzmann_output_mma PROPERTIES LABELS "csg;tools;votca")
Expand Down

0 comments on commit f77a39b

Please sign in to comment.