Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jan 13, 2025
1 parent 9f51fff commit c3f27b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ set_tests_properties ( same_num_io
PASS_REGULAR_EXPRESSION "Input and output have same number of events")

# Test clicReconstruction with EDM4hep input and output
ExternalData_Add_Test( marlinwrapper_tests NAME clicRec_edm4hep_input COMMAND bash -c "${CMAKE_CURRENT_SOURCE_DIR}/scripts/clicRec_e4h_input.sh DATA{${PROJECT_SOURCE_DIR}/test/input_files/ttbar_20240223_edm4hep.root}")
ExternalData_Add_Test( marlinwrapper_tests NAME clicRec_edm4hep_input COMMAND bash -c "${CMAKE_CURRENT_SOURCE_DIR}/scripts/clicRec_e4h_input.sh DATA{${PROJECT_SOURCE_DIR}/test/input_files/ttbar_20240223_edm4hep.root} --no-iosvc")
ExternalData_Add_Test( marlinwrapper_tests NAME clicRec_edm4hep_input_iosvc COMMAND bash -c "${CMAKE_CURRENT_SOURCE_DIR}/scripts/clicRec_e4h_input.sh DATA{${PROJECT_SOURCE_DIR}/test/input_files/ttbar_20240223_edm4hep.root} --iosvc")

# Run clicReconstruction sequence with LCIO input and output, no converters, with inter-event parallelism
Expand Down
8 changes: 5 additions & 3 deletions test/scripts/clicRec_e4h_input.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ if [ "$2" = "--iosvc" ]; then
iosvc="_iosvc"
echo "Running with IO service"
file_arg="--IOSvc.Input=$1"
elif [ -n "$2" ]; then
echo "Wrong argument $2"
else
elif [ "$2" = "--no-iosvc" ]; then
iosvc=""
echo "Running without IO service"
file_arg="EventDataSvc.input=$1"
else
echo "Wrong argument $2"
return 1
fi
k4run $EXAMPLE_DIR/clicRec_e4h_input.py ${file_arg} --rec-output Output_REC_e4h_input$iosvc.slcio --dst-output Output_DST_e4h_input$iosvc.slcio

Expand Down

0 comments on commit c3f27b3

Please sign in to comment.