diff --git a/test/gaudi_opts/clicRec_e4h_input.py b/k4MarlinWrapper/examples/clicRec_e4h_input.py similarity index 100% rename from test/gaudi_opts/clicRec_e4h_input.py rename to k4MarlinWrapper/examples/clicRec_e4h_input.py diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 644b1131..02f2cbac 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -79,7 +79,7 @@ if (BASH_PROGRAM) clicRec_lcio_mt clicRec_edm4hep_input PROPERTIES - ENVIRONMENT "TEST_DIR=${CMAKE_CURRENT_SOURCE_DIR};LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib:${CMAKE_INSTALL_PREFIX}/lib64:$ENV{LD_LIBRARY_PATH};PYTHONPATH=${CMAKE_INSTALL_PREFIX}/python:$ENV{PYTHONPATH}" + ENVIRONMENT "TEST_DIR=${CMAKE_CURRENT_SOURCE_DIR};LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib:${CMAKE_INSTALL_PREFIX}/lib64:$ENV{LD_LIBRARY_PATH};PYTHONPATH=${CMAKE_INSTALL_PREFIX}/python:$ENV{PYTHONPATH};EXAMPLE_DIR=${PROJECT_SOURCE_DIR}/k4MarlinWrapper/examples" ) set_tests_properties( diff --git a/test/scripts/clicRec_e4h_input.sh b/test/scripts/clicRec_e4h_input.sh index 57ab6f85..2b9d4a4d 100644 --- a/test/scripts/clicRec_e4h_input.sh +++ b/test/scripts/clicRec_e4h_input.sh @@ -17,7 +17,7 @@ fi # Frame based I/O exits with a user requested stop here, that makes Gaudi exit # with an exit code of 4. See https://github.com/key4hep/k4FWCore/issues/125 -k4run $TEST_DIR/gaudi_opts/clicRec_e4h_input.py || true +k4run $EXAMPLE_DIR/clicRec_e4h_input.py || true input_num_events=$(python $TEST_DIR/python/root_num_events.py $TEST_DIR/inputFiles/$INPUTFILE) output_num_events=$(python $TEST_DIR/python/root_num_events.py my_output.root)