Skip to content
Snippets Groups Projects
Commit 79ba0b9f authored by Dominik Smith's avatar Dominik Smith
Browse files

Rearranged tests in macro/run/CMakeLists.txt. Changed naming convention such...

Rearranged tests in macro/run/CMakeLists.txt. Changed naming convention such that FIXTURES_SETUP is named after the current test and FIXTURES_REQUIRED contains names of required tests.
parent 35acc918
No related branches found
No related tags found
1 merge request!481Automated QA
......@@ -69,6 +69,30 @@ foreach(setup IN LISTS cbm_setup)
set(sname test)
endif()
# --- Test run_transport_json_config
# --- Transport run using run_transport_json_config.C
set(testname run_transport_json_config)
add_test(${testname} ${MACRO_DIR}/run_transport_json_config.sh)
set_tests_properties(${testname} PROPERTIES
TIMEOUT ${timeOutTime}
PASS_REGULAR_EXPRESSION "Macro finished successfully"
FIXTURES_REQUIRED cleanup
FIXTURES_SETUP fixt_tra_json_config
RESOURCE_LOCK json_config_ParDb
)
# --- Test run_digi_json_config
# --- Digitization run with using run_digi_json_config.C
set(testname run_digi_json_config)
add_test(${testname} ${MACRO_DIR}/run_digi_json_config.sh)
set_tests_properties(${testname} PROPERTIES
TIMEOUT ${timeOutTime}
PASS_REGULAR_EXPRESSION "Macro finished successfully"
FIXTURES_REQUIRED fixt_tra_json_config
FIXTURES_SETUP fixt_digi_json_config
RESOURCE_LOCK json_config_ParDb
)
# --- Test run_tra_coll
# --- Transport run with collision events, using run_tra_file.C
set(testname run_${sname}_tra_coll)
......@@ -150,6 +174,7 @@ foreach(setup IN LISTS cbm_setup)
TIMEOUT ${timeOutTime}
PASS_REGULAR_EXPRESSION "Macro finished successfully"
FIXTURES_REQUIRED fixt_digi_ev_${setup}
FIXTURES_SETUP fixt_reco_ev_ideal_${setup}
RESOURCE_LOCK collParDb_${setup}
)
......@@ -164,6 +189,7 @@ foreach(setup IN LISTS cbm_setup)
TIMEOUT ${timeOutTime}
PASS_REGULAR_EXPRESSION "Macro finished successfully"
FIXTURES_REQUIRED fixt_digi_ev_${setup}
FIXTURES_SETUP fixt_reco_ev_real_${setup}
RESOURCE_LOCK collParDb_${setup}
)
......@@ -178,6 +204,7 @@ foreach(setup IN LISTS cbm_setup)
TIMEOUT ${timeOutTime}
PASS_REGULAR_EXPRESSION "Macro finished successfully"
FIXTURES_REQUIRED fixt_digi_ts_${setup}
FIXTURES_SETUP fixt_reco_ts_eb_ideal_${setup}
RESOURCE_LOCK collParDb_${setup}
)
......@@ -192,6 +219,7 @@ foreach(setup IN LISTS cbm_setup)
TIMEOUT ${timeOutTime}
PASS_REGULAR_EXPRESSION "Macro finished successfully"
FIXTURES_REQUIRED fixt_digi_ts_${setup}
FIXTURES_SETUP fixt_reco_ts_eb_real_${setup}
RESOURCE_LOCK collParDb_${setup}
)
......@@ -205,6 +233,7 @@ foreach(setup IN LISTS cbm_setup)
TIMEOUT ${timeOutTime}
PASS_REGULAR_EXPRESSION "Macro finished successfully"
FIXTURES_REQUIRED fixt_digi_ts_${setup}
FIXTURES_SETUP fixt_reco_ts_tb_${setup}
RESOURCE_LOCK collParDb_${setup}
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment