Skip to content

Commit 4bb20d0

Browse files
committed
fix env
1 parent fd4da91 commit 4bb20d0

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

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

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,7 @@ stub="${@: -1}"
2727
! grep "^$stub -pid" src/eb/scripts/list.txt && echo Invalid stub: $stub && exit 1
2828

2929
# set up environment
30-
if [ $useClara -eq 0 ]
31-
then
32-
COAT=../../coatjava
33-
source $COAT/libexec/env.sh
34-
else
35-
CLARA_HOME=$PWD/clara_installation/
36-
COAT=$CLARA_HOME/plugins/clas12/
37-
source $COAT/libexec/env.sh
38-
export CLARA_HOME
39-
fi
40-
30+
source ../../coatjava/libexec/env.sh
4131
classPath="${COATJAVA_CLASSPATH}:../lib/*:src/"
4232

4333
# make sure test code compiles before anything else:
@@ -54,10 +44,11 @@ then
5444
fi
5545

5646
# run Event Builder tests:
57-
java -DCLAS12DIR="$COAT" -Xmx1536m -Xms1024m -cp $classPath -DINPUTFILE=out_${stub}.hipo org.junit.runner.JUnitCore eb.EBTwoTrackTest
47+
java -Xmx1536m -Xms1024m -cp $classPath -DINPUTFILE=out_${stub}.hipo org.junit.runner.JUnitCore eb.EBTwoTrackTest
5848
if [ $? != 0 ] ; then echo "EBTwoTrackTest unit test failure" ; exit 1 ; else echo "EBTwoTrackTest passed unit tests" ; fi
5949

60-
$COAT/bin/trutheff ./out_${stub}.hipo
50+
# show a pid effenciency matrix:
51+
trutheff ./out_${stub}.hipo
6152

6253
exit 0
6354

0 commit comments

Comments
 (0)