Commit b21b97dc authored by Christoph Junghans's avatar Christoph Junghans Committed by GitHub

cmake: use $<TARGET_FILE:VOTCA::votca_compare>

parent d6940eb2
Pipeline #84808692 failed with stages
in 105 minutes and 20 seconds
......@@ -111,7 +111,7 @@ if(ENABLE_TESTING)
add_test(NAME integration_Compare_csg_stat-imc_output_2 COMMAND $<TARGET_FILE:VOTCA::votca_compare> --etol ${REGRESSIONTEST_TOLERANCE} -f1 CG-CG.dist.new -f2 ${REFPATH}/CG-CG.dist.imc WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Compare_csg_stat-imc_output_2 PROPERTIES DEPENDS integration_Run_csg_stat-imc)
set_tests_properties(integration_Compare_csg_stat-imc_output_2 PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME integration_Compare_csg_stat-imc_output_3 COMMAND ${VOTCA_COMPARE} --etol ${REGRESSIONTEST_TOLERANCE} -f1 CG-CG.gmc -f2 ${REFPATH}/CG-CG.gmc WORKING_DIRECTORY ${RUNPATH})
add_test(NAME integration_Compare_csg_stat-imc_output_3 COMMAND $<TARGET_FILE:VOTCA::votca_compare> --etol ${REGRESSIONTEST_TOLERANCE} -f1 CG-CG.gmc -f2 ${REFPATH}/CG-CG.gmc WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(integration_Compare_csg_stat-imc_output_3 PROPERTIES DEPENDS integration_Run_csg_stat-imc)
set_tests_properties(integration_Compare_csg_stat-imc_output_3 PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME integration_Compare_csg_stat-imc_output_4 COMMAND ${CMAKE_COMMAND} -E compare_files CG-CG.idx ${REFPATH}/CG-CG.idx WORKING_DIRECTORY ${RUNPATH})
......@@ -137,16 +137,16 @@ if(ENABLE_TESTING)
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 Run_csg_repack COMMAND csg_imcrepack --in group_1 --out group_1.packed WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(Run_csg_repack PROPERTIES LABELS "csg;tools;votca")
add_test(NAME Compare_csg_repack_output_1 COMMAND ${VOTCA_COMPARE} --etol ${REGRESSIONTEST_TOLERANCE} -f1 group_1.packed.gmc -f2 ${REFPATH}/group_1.packed.gmc WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(Run_csg_repack PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME 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(Compare_csg_repack_output_1 PROPERTIES DEPENDS Run_csg_repack)
set_tests_properties(Compare_csg_repack_output_1 PROPERTIES LABELS "csg;tools;votca")
add_test(NAME Compare_csg_repack_output_2 COMMAND ${VOTCA_COMPARE} --etol ${REGRESSIONTEST_TOLERANCE} -f1 group_1.packed.imc -f2 ${REFPATH}/group_1.packed.imc WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(Compare_csg_repack_output_1 PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME 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(Compare_csg_repack_output_2 PROPERTIES DEPENDS Run_csg_repack)
set_tests_properties(Compare_csg_repack_output_2 PROPERTIES LABELS "csg;tools;votca")
set_tests_properties(Compare_csg_repack_output_2 PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME 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(Compare_csg_repack_output_3 PROPERTIES DEPENDS Run_csg_repack)
set_tests_properties(Compare_csg_repack_output_3 PROPERTIES LABELS "csg;tools;votca")
set_tests_properties(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)
......@@ -154,16 +154,16 @@ if(ENABLE_TESTING)
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 Run_csg_repack-unpack COMMAND csg_imcrepack --in group_1.packed --unpack group_1.packed.sol WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(Run_csg_repack-unpack PROPERTIES LABELS "csg;tools;votca")
add_test(NAME Compare_csg_repack-unpack_output_1 COMMAND ${VOTCA_COMPARE} --etol ${REGRESSIONTEST_TOLERANCE} -f1 LJ1-LJ1.dpot.imc -f2 ${REFPATH}/LJ1-LJ1.dpot.imc WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(Run_csg_repack-unpack PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME 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(Compare_csg_repack-unpack_output_1 PROPERTIES DEPENDS Run_csg_repack-unpack)
set_tests_properties(Compare_csg_repack-unpack_output_1 PROPERTIES LABELS "csg;tools;votca")
add_test(NAME Compare_csg_repack-unpack_output_2 COMMAND ${VOTCA_COMPARE} --etol ${REGRESSIONTEST_TOLERANCE} -f1 LJ1-LJ2.dpot.imc -f2 ${REFPATH}/LJ1-LJ2.dpot.imc WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(Compare_csg_repack-unpack_output_1 PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME 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(Compare_csg_repack-unpack_output_2 PROPERTIES DEPENDS Run_csg_repack-unpack)
set_tests_properties(Compare_csg_repack-unpack_output_2 PROPERTIES LABELS "csg;tools;votca")
add_test(NAME Compare_csg_repack-unpack_output_3 COMMAND ${VOTCA_COMPARE} --etol ${REGRESSIONTEST_TOLERANCE} -f1 LJ2-LJ2.dpot.imc -f2 ${REFPATH}/LJ2-LJ2.dpot.imc WORKING_DIRECTORY ${RUNPATH})
set_tests_properties(Compare_csg_repack-unpack_output_2 PROPERTIES LABELS "csg;tools;votca;integration")
add_test(NAME 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(Compare_csg_repack-unpack_output_3 PROPERTIES DEPENDS Run_csg_repack-unpack)
set_tests_properties(Compare_csg_repack-unpack_output_3 PROPERTIES LABELS "csg;tools;votca")
set_tests_properties(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)
......
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