Commit 573cb33d authored by Christoph Junghans's avatar Christoph Junghans

cmake: remove csg_imcrepack tests

parent 8cfa45eb
Pipeline #85179916 passed with stages
in 209 minutes and 9 seconds
......@@ -159,41 +159,6 @@ if(ENABLE_TESTING)
set_tests_properties(integration_Compare_csg_imc_solve_reg_output_4 PROPERTIES DEPENDS integration_Run_csg_imc_solve_reg)
set_tests_properties(integration_Compare_csg_imc_solve_reg_output_4 PROPERTIES LABELS "csg;tools;votca;integration")
set(RUNPATH ${CMAKE_CURRENT_BINARY_DIR}/Run_csg_repack)
set(REFPATH ${CMAKE_CURRENT_SOURCE_DIR}/references/LJ1-LJ2)
file(MAKE_DIRECTORY ${RUNPATH})
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${REFPATH}/group_1.gmc ${RUNPATH}/group_1.gmc)
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${REFPATH}/group_1.imc ${RUNPATH}/group_1.imc)
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${REFPATH}/group_1.idx ${RUNPATH}/group_1.idx)
add_test(NAME integration_Run_csg_repack COMMAND csg_imcrepack --in group_1 --out group_1.packed WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Run_csg_repack PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME integration_Compare_csg_repack_output_1 COMMAND $<TARGET_FILE:VOTCA::votca_compare> --etol ${REGRESSIONTEST_TOLERANCE} -f1 group_1.packed.gmc -f2 ${REFPATH}/group_1.packed.gmc WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Compare_csg_repack_output_1 PROPERTIES DEPENDS integration_Run_csg_repack)
set_tests_properties(integration_Compare_csg_repack_output_1 PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME integration_Compare_csg_repack_output_2 COMMAND $<TARGET_FILE:VOTCA::votca_compare> --etol ${REGRESSIONTEST_TOLERANCE} -f1 group_1.packed.imc -f2 ${REFPATH}/group_1.packed.imc WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Compare_csg_repack_output_2 PROPERTIES DEPENDS integration_Run_csg_repack)
set_tests_properties(integration_Compare_csg_repack_output_2 PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME integration_Compare_csg_repack_output_3 COMMAND ${CMAKE_COMMAND} -E compare_files group_1.packed.idx ${REFPATH}/group_1.packed.idx WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Compare_csg_repack_output_3 PROPERTIES DEPENDS integration_Run_csg_repack)
set_tests_properties(integration_Compare_csg_repack_output_3 PROPERTIES LABELS "csg;tools;votca;integration")
set(RUNPATH ${CMAKE_CURRENT_BINARY_DIR}/Run_csg_repack-unpack)
set(REFPATH ${CMAKE_CURRENT_SOURCE_DIR}/references/LJ1-LJ2)
file(MAKE_DIRECTORY ${RUNPATH})
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${REFPATH}/group_1.packed.sol ${RUNPATH}/group_1.packed.sol)
execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink ${REFPATH}/group_1.packed.idx ${RUNPATH}/group_1.packed.idx)
add_test(NAME integration_Run_csg_repack-unpack COMMAND csg_imcrepack --in group_1.packed --unpack group_1.packed.sol WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Run_csg_repack-unpack PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME integration_Compare_csg_repack-unpack_output_1 COMMAND $<TARGET_FILE:VOTCA::votca_compare> --etol ${REGRESSIONTEST_TOLERANCE} -f1 LJ1-LJ1.dpot.imc -f2 ${REFPATH}/LJ1-LJ1.dpot.imc WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Compare_csg_repack-unpack_output_1 PROPERTIES DEPENDS integration_Run_csg_repack-unpack)
set_tests_properties(integration_Compare_csg_repack-unpack_output_1 PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME integration_Compare_csg_repack-unpack_output_2 COMMAND $<TARGET_FILE:VOTCA::votca_compare> --etol ${REGRESSIONTEST_TOLERANCE} -f1 LJ1-LJ2.dpot.imc -f2 ${REFPATH}/LJ1-LJ2.dpot.imc WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Compare_csg_repack-unpack_output_2 PROPERTIES DEPENDS integration_Run_csg_repack-unpack)
set_tests_properties(integration_Compare_csg_repack-unpack_output_2 PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME integration_Compare_csg_repack-unpack_output_3 COMMAND $<TARGET_FILE:VOTCA::votca_compare> --etol ${REGRESSIONTEST_TOLERANCE} -f1 LJ2-LJ2.dpot.imc -f2 ${REFPATH}/LJ2-LJ2.dpot.imc WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Compare_csg_repack-unpack_output_3 PROPERTIES DEPENDS integration_Run_csg_repack-unpack)
set_tests_properties(integration_Compare_csg_repack-unpack_output_3 PROPERTIES LABELS "csg;tools;votca;integration")
set(RUNPATH ${CMAKE_CURRENT_BINARY_DIR}/Run_csg_resample)
set(REFPATH ${CMAKE_CURRENT_SOURCE_DIR}/references/csg_resample)
file(MAKE_DIRECTORY ${RUNPATH})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment