do all in simrun.C rather than in simrun.sh
[u/mrichter/AliRoot.git] / test / QA / simrun.sh
CommitLineData
69c4e539 1#!/bin/bash
2if ($#argv != 2) then
3 echo usage simrun.sh RunNumber
4 exit
5endif
a6fbea2b 6cd $WORK/QATest
7rm -f *.root *.C *.log
8ln -si $ALICE_ROOT/test/QA/Config.C Config.C
69c4e539 9ln -si $ALICE_ROOT/test/QA/sim.C sim.C
10ln -si $ALICE_ROOT/test/QA/simqa.C simqa.C
11ln -si $ALICE_ROOT/test/QA/rec.C rec.C
12ln -si $ALICE_ROOT/test/QA/recqa.C recqa.C
13#ln -si $ALICE_ROOT/test/QA/geometry.root geometry.root
14root -b -q $ALICE_ROOT/test/QA/simrun.C --run $1
a6fbea2b 15cd $WORK/QATest/data
72628718 16rm -f *.root
d0992318 17cp $ALICE_ROOT/test/QA/rawqa.C .
69c4e539 18alienaliroot -b > rawqa.log 2>&1 << EOF
a6fbea2b 19.x $ALICE_ROOT/test/QA/rootlogon.C
d0992318 20.L rawqa.C++
72628718 21rawqa(21950, 10)
a6fbea2b 22EOF
d0992318 23rm -f rawqa.C
72628718 24exit