Skip to content

Commit

Permalink
Fix pre-commit and add a new test
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jan 30, 2025
1 parent 62689ed commit 9ac303b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion k4MarlinWrapper/src/components/Lcio2EDM4hep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
#include <edm4hep/utils/ParticleIDUtils.h>

#include <k4FWCore/DataHandle.h>
#include <k4FWCore/FunctionalUtils.h>
#include <k4FWCore/MetaDataHandle.h>
#include <k4FWCore/PodioDataSvc.h>
#include <k4FWCore/FunctionalUtils.h>

#include "GaudiKernel/AnyDataWrapper.h"

Expand Down
6 changes: 6 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ set_tests_properties ( same_num_io
# 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} --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")
add_test( clicRec_edm4hep_input_compare_output bash -c "diff <(podio-dump CLICPerformance/clicConfig/my_output.root | grep -v "input file:") <(podio-dump CLICPerformance/clicConfig/my_output_iosvc.root | grep -v "input file:")")

# Run clicReconstruction sequence with LCIO input and output, no converters, with inter-event parallelism
ExternalData_Add_Test( marlinwrapper_tests NAME clicRec_lcio_mt COMMAND bash -c "${CMAKE_CURRENT_SOURCE_DIR}/scripts/clicRec_lcio_mt.sh DATA{${PROJECT_SOURCE_DIR}/test/input_files/testSimulation.slcio}")
Expand Down Expand Up @@ -115,4 +116,9 @@ set_tests_properties(
DEPENDS CLICPerformance_setup
)

set_tests_properties(
clicRec_edm4hep_input_compare_output
PROPERTIES
DEPENDS clicRec_edm4hep_input clicRec_edm4hep_input_iosvc
)

0 comments on commit 9ac303b

Please sign in to comment.