]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/macros/test_suite.sh
Patch for the pointer to AOD event
[u/mrichter/AliRoot.git] / MUON / mapping / macros / test_suite.sh
1 #!/bin/sh
2 # $Id$
3
4 # Test suite for running St12 mapping test macros in a batch mode.
5 # The macros outputs are saved in test_out directory.
6 #
7 # by I. Hrivnacova, IPN Orsay
8
9 OUTDIR="test_out"
10 CURDIR=`pwd`
11
12 cd $ALICE_ROOT/MUON/mapping/macros
13 if [ ! -d $OUTDIR ] 
14 then
15   mkdir -p $OUTDIR 
16 fi
17
18 for TEST in `ls testSt12*C` `ls testSt345*C` testDE.C timeMapping.C
19 do
20   TESTNAME=`echo $TEST | sed 's/\.C//g'`
21   echo "Running $TESTNAME ..."
22   #aliroot -b >& testSt12AllIndices.out << EOF
23   aliroot -b >& $OUTDIR/$TESTNAME".out" << EOF
24   .L $TEST+
25   $TESTNAME();
26   .q
27 EOF
28
29 done
30
31 mv testExistingPads.*.out $OUTDIR
32
33 cd $CURDIR