Skip to content

Commit

Permalink
Move clic reco w/ edm4hep inputs to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Jul 21, 2023
1 parent e2cd560 commit 8408ab1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/clicRec_e4h_input.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8408ab1

Please sign in to comment.