Update master to aliroot
[u/mrichter/AliRoot.git] / test / gun / runtest.sh
CommitLineData
3928b038 1#!/bin/sh
2# Root
3# export ROOTSYS=/afs/cern.ch/alice/library/root/new
4# export PATH=$ROOTSYS/bin:$PATH
5# export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH
6# AliRoot
7# export ALICE=/afs/cern.ch/alice/library
8# export ALICE_LEVEL=new
9# export ALICE_ROOT=$ALICE/$ALICE_LEVEL
10# export ALICE_TARGET=`$ROOTSYS/bin/root-config --arch`
11# export PATH=$ALICE_ROOT/bin/tgt_${ALICE_TARGET}:$PATH
12# export LD_LIBRARY_PATH=$ALICE_ROOT/lib/tgt_${ALICE_TARGET}:$LD_LIBRARY_PATH
13# Geant3
14# export LD_LIBRARY_PATH=$ALICE/geant3/lib/tgt_${ALICE_TARGET}:$LD_LIBRARY_PATH
15
b87d8fcd 16rm -rf *.root *.dat *.log fort* hlt hough raw* recraw/*.root recraw/*.log
3928b038 17aliroot -b -q sim.C 2>&1 | tee sim.log
c8943fea 18mv syswatch.log simwatch.log
3928b038 19aliroot -b -q rec.C 2>&1 | tee rec.log
c8943fea 20mv syswatch.log recwatch.log
27d4c9f5 21aliroot -b -q ${ALICE_ROOT}/STEER/macros/CheckESD.C 2>&1 | tee check.log
7979be2b 22aliroot -b -q aod.C 2>&1 | tee aod.log
3928b038 23
b87d8fcd 24cd recraw
b87d8fcd 25ln -s ../raw.root
26aliroot -b -q rec.C 2>&1 | tee rec.log
7979be2b 27aliroot -b -q 2>&1 aod.C | tee aod.log
3928b038 28