Skip to content
Snippets Groups Projects
Commit c1b166b4 authored by Andre Sailer's avatar Andre Sailer
Browse files

Examples: remove unused requires arguments from tests

parent 941cb1c4
No related branches found
No related tags found
No related merge requests found
...@@ -126,7 +126,6 @@ if (DD4HEP_USE_GEANT4) ...@@ -126,7 +126,6 @@ if (DD4HEP_USE_GEANT4)
dd4hep_add_test_reg( CLICSiD_DDG4_${script}_LONGTEST dd4hep_add_test_reg( CLICSiD_DDG4_${script}_LONGTEST
COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_CLICSiD.sh" COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_CLICSiD.sh"
EXEC_ARGS python ${CLICSiDEx_INSTALL}/scripts/${script}.py EXEC_ARGS python ${CLICSiDEx_INSTALL}/scripts/${script}.py
REQUIRES DDG4 Geant4
REGEX_PASS "TEST_PASSED" REGEX_PASS "TEST_PASSED"
REGEX_FAIL "Exception;EXCEPTION;ERROR" ) REGEX_FAIL "Exception;EXCEPTION;ERROR" )
endforeach(script) endforeach(script)
...@@ -135,7 +134,6 @@ if (DD4HEP_USE_GEANT4) ...@@ -135,7 +134,6 @@ if (DD4HEP_USE_GEANT4)
#dd4hep_add_test_reg( CLICSiD_DDG4_GDML_LONGTEST #dd4hep_add_test_reg( CLICSiD_DDG4_GDML_LONGTEST
# COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_CLICSiD.sh" # COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_CLICSiD.sh"
# EXEC_ARGS python ${CLICSiDEx_INSTALL}/scripts/CLIC_GDML.py # EXEC_ARGS python ${CLICSiDEx_INSTALL}/scripts/CLIC_GDML.py
# REQUIRES DDG4 Geant4
# REGEX_PASS "G4GDML. Writing 'CLICSiD.gdml' done !" # REGEX_PASS "G4GDML. Writing 'CLICSiD.gdml' done !"
# REGEX_FAIL "Exception;EXCEPTION;ERROR" ) # REGEX_FAIL "Exception;EXCEPTION;ERROR" )
# #
...@@ -145,7 +143,6 @@ if (DD4HEP_USE_GEANT4) ...@@ -145,7 +143,6 @@ if (DD4HEP_USE_GEANT4)
EXEC_ARGS python ${DD4hep_DIR}/python/g4MaterialScan.py EXEC_ARGS python ${DD4hep_DIR}/python/g4MaterialScan.py
--compact=$ENV{DD4hepINSTALL}/DDDetectors/compact/SiD.xml --compact=$ENV{DD4hepINSTALL}/DDDetectors/compact/SiD.xml
"--position=0,0,0" "--direction=0,1,0" "--position=0,0,0" "--direction=0,1,0"
REQUIRES DDG4 Geant4
REGEX_PASS " Terminate Geant4 and delete associated actions." ) REGEX_PASS " Terminate Geant4 and delete associated actions." )
# #
# Geant4 simulations with initialization using AClick and XMl # Geant4 simulations with initialization using AClick and XMl
...@@ -155,7 +152,6 @@ if (DD4HEP_USE_GEANT4) ...@@ -155,7 +152,6 @@ if (DD4HEP_USE_GEANT4)
dd4hep_add_test_reg( CLICSiD_DDG4_${script}_as_AClick_LONGTEST dd4hep_add_test_reg( CLICSiD_DDG4_${script}_as_AClick_LONGTEST
COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_CLICSiD.sh" COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_CLICSiD.sh"
EXEC_ARGS root.exe -b -x -n -q -l "${DD4hep_DIR}/examples/DDG4/examples/run.C(\"${CLICSiDEx_INSTALL}/scripts/${script}\")" EXEC_ARGS root.exe -b -x -n -q -l "${DD4hep_DIR}/examples/DDG4/examples/run.C(\"${CLICSiDEx_INSTALL}/scripts/${script}\")"
REQUIRES DDG4 Geant4
REGEX_PASS "UserEvent_1 INFO Geant4TestEventAction> calling end.event_id=9" REGEX_PASS "UserEvent_1 INFO Geant4TestEventAction> calling end.event_id=9"
REGEX_FAIL "Exception;EXCEPTION;ERROR;Error" ) REGEX_FAIL "Exception;EXCEPTION;ERROR;Error" )
# #
...@@ -163,7 +159,6 @@ if (DD4HEP_USE_GEANT4) ...@@ -163,7 +159,6 @@ if (DD4HEP_USE_GEANT4)
dd4hep_add_test_reg( CLICSiD_DDG4_${script}_as_exe_LONGTEST dd4hep_add_test_reg( CLICSiD_DDG4_${script}_as_exe_LONGTEST
COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_CLICSiD.sh" COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_CLICSiD.sh"
EXEC_ARGS ${script} EXEC_ARGS ${script}
REQUIRES DDG4 Geant4
REGEX_PASS "UserEvent_1 INFO Geant4TestEventAction> calling end.event_id=9" REGEX_PASS "UserEvent_1 INFO Geant4TestEventAction> calling end.event_id=9"
REGEX_FAIL "Exception;EXCEPTION;ERROR;Error" ) REGEX_FAIL "Exception;EXCEPTION;ERROR;Error" )
endforeach(script) endforeach(script)
......
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