Skip to content

Commit ba3d324

Browse files
committed
cleanup
1 parent 33008ce commit ba3d324

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

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

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
#!/bin/bash
2-
# WARNING: coatjava must already be built at ../../coatjava/
3-
4-
set -e
52

6-
# coatjava must already be built at ../../coatjava/
3+
# WARNING: coatjava must already be built at ../../coatjava/
74
# and input test data files at ./data
85

9-
#set -x # print every command executed
10-
11-
input_dir=./data/5.11-fid-tm-dc2-r11
12-
6+
set -e
137
source ../../coatjava/libexec/env.sh
14-
8+
input_dir=./data/5.11-fid-tm-dc2-r11
159
classPath="${COATJAVA_CLASSPATH}:../lib/*:src/"
1610

1711
# check arguments:
@@ -58,7 +52,7 @@ rm -f out_${stub}.hipo
5852
../../coatjava/bin/recon-util -l FINE -i ${input_dir}/${stub}.hipo -o out_${stub}.hipo -c 2
5953

6054
# run EB tests:
61-
java -DCLAS12DIR="$COAT" -Xmx1536m -Xms1024m -cp $classPath -DINPUTFILE=out_${stub}.hipo eb.EBTwoTrackTest
55+
java -Xmx1536m -Xms1024m -cp $classPath -DINPUTFILE=out_${stub}.hipo eb.EBTwoTrackTest
6256
if [ $? != 0 ] ; then echo "EBTwoTrackTest unit test failure" ; exit 1 ; else echo "EBTwoTrackTest passed unit tests" ; fi
6357

6458
# run truth-efficiency calculator:

0 commit comments

Comments
 (0)