Skip to content

Commit 353068e

Browse files
committed
Fix for test
- Forgot to change key for test in `run/CMakeLists.txt` - `crmc.sh` uses `-o hepmc` instead of `-o hepmc3` to accomodate older installation of CRMC with `aliBuild`.
1 parent 52a953f commit 353068e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

run/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ o2_add_test_command(NAME o2sim_hepmc
271271
-g
272272
hepmc
273273
--configKeyValues
274-
"FileOrCmd.fileNames=${CMAKE_SOURCE_DIR}/Generators/share/data/pythia.hepmc;HepMC.version=2;align-geom.mDetectors=none"
274+
"GeneratorFileOrCmd.fileNames=${CMAKE_SOURCE_DIR}/Generators/share/data/pythia.hepmc;HepMC.version=2;align-geom.mDetectors=none"
275275
-o
276276
o2simhepmc
277277
LABELS long sim hepmc3

run/SimExamples/HepMC/crmc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
# event record.
44

55
crmcParam=$(dirname $(dirname `which crmc`))/etc/crmc.param
6-
exec crmc -c $crmcParam $@ -o hepmc3 -f /dev/stdout | \
6+
exec crmc -c $crmcParam $@ -o hepmc -f /dev/stdout | \
77
sed -n 's/^\(HepMC::\|[EAUWVP] \)/\1/p'

0 commit comments

Comments
 (0)