Skip to content

Commit f0a05e8

Browse files
committed
cleanup, just to trigger new CI jobs with latest gemc/dev test files
1 parent 75926d3 commit f0a05e8

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

validation/advanced-tests/run-eb-tests.sh

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ do
4040
done
4141

4242
# last argument is input file stub:
43-
webFileStub="${@: -1}"
43+
stub="${@: -1}"
4444

4545
# sanity check on filestub name,
4646
# just to error with reasonable message before proceeding:
47-
case $webFileStub in
47+
case $stub in
4848
# electron in forward, hadron in forward:
4949
electronproton)
5050
;;
@@ -79,7 +79,7 @@ case $webFileStub in
7979
electrondeuteronC)
8080
;;
8181
*)
82-
echo Invalid input evio file: $webFileStub
82+
echo Invalid input evio file: $stub
8383
exit 1
8484
esac
8585

@@ -122,28 +122,28 @@ then
122122
fi
123123

124124
# download test files, if necessary:
125-
wget -N --no-check-certificate $webDir/${webFileStub}.hipo
125+
wget -N --no-check-certificate $webDir/${stub}.hipo
126126
if [ $? != 0 ] ; then echo "wget validation files failure" ; exit 1 ; fi
127127

128128
# update the schema dictionary: (no longer necessary now that recon-util does it)
129-
#rm -f up_${webFileStub}.hipo
130-
#../../coatjava/bin/hipo-utils -update -d ../../coatjava/etc/bankdefs/hipo4/ -o up_${webFileStub}.hipo ${webFileStub}.hipo
129+
#rm -f up_${stub}.hipo
130+
#../../coatjava/bin/hipo-utils -update -d ../../coatjava/etc/bankdefs/hipo4/ -o up_${stub}.hipo ${stub}.hipo
131131

132132
# run reconstruction:
133-
rm -f out_${webFileStub}.hipo
133+
rm -f out_${stub}.hipo
134134
if [ $useClara -eq 0 ]
135135
then
136136
GEOMDBVAR=$geoDbVariation
137137
export GEOMDBVAR
138-
../../coatjava/bin/recon-util -i ${webFileStub}.hipo -o out_${webFileStub}.hipo -c 2
138+
../../coatjava/bin/recon-util -i ${stub}.hipo -o out_${stub}.hipo -c 2
139139
else
140140
echo "set inputDir $PWD/" > cook.clara
141141
echo "set outputDir $PWD/" >> cook.clara
142142
echo "set threads 7" >> cook.clara
143143
echo "set javaMemory 2" >> cook.clara
144144
echo "set session s_cook" >> cook.clara
145145
echo "set description d_cook" >> cook.clara
146-
ls ${webFileStub}.hipo > files.list
146+
ls ${stub}.hipo > files.list
147147
echo "set fileList $PWD/files.list" >> cook.clara
148148
echo "run local" >> cook.clara
149149
echo "exit" >> cook.clara
@@ -152,7 +152,7 @@ then
152152
fi
153153

154154
# run Event Builder tests:
155-
java -DCLAS12DIR="$COAT" -Xmx1536m -Xms1024m -cp $classPath2 -DINPUTFILE=out_${webFileStub}.hipo org.junit.runner.JUnitCore eb.EBTwoTrackTest
155+
java -DCLAS12DIR="$COAT" -Xmx1536m -Xms1024m -cp $classPath2 -DINPUTFILE=out_${stub}.hipo org.junit.runner.JUnitCore eb.EBTwoTrackTest
156156
if [ $? != 0 ] ; then echo "EBTwoTrackTest unit test failure" ; exit 1 ; else echo "EBTwoTrackTest passed unit tests" ; fi
157157

158158
exit 0

0 commit comments

Comments
 (0)