From a27fe1c49b58f42d959f2eae1f86e5effe09c0a0 Mon Sep 17 00:00:00 2001 From: hristov Date: Mon, 21 Apr 2008 13:28:30 +0000 Subject: [PATCH] Do not use Root shell but bash to run the simulation and reconstruction --- test/pploadlibs/run.C | 9 --------- test/pploadlibs/runtest.sh | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 9 deletions(-) delete mode 100644 test/pploadlibs/run.C create mode 100755 test/pploadlibs/runtest.sh diff --git a/test/pploadlibs/run.C b/test/pploadlibs/run.C deleted file mode 100644 index 7ce1c3d69b9..00000000000 --- a/test/pploadlibs/run.C +++ /dev/null @@ -1,9 +0,0 @@ -void run() -{ - TStopwatch timer; - timer.Start(); - gSystem->Exec("root.exe -q sim.C > sim.log 2>&1"); - gSystem->Exec("root.exe -q rec.C > rec.log 2>&1"); - timer.Stop(); - timer.Print(); -} diff --git a/test/pploadlibs/runtest.sh b/test/pploadlibs/runtest.sh new file mode 100755 index 00000000000..21d30cf3e73 --- /dev/null +++ b/test/pploadlibs/runtest.sh @@ -0,0 +1,18 @@ +#!/bin/sh + +if [ "$ALICE_TARGET" = "win32gcc" ] + then + REXE=root_exe.exe +else + REXE=root.exe +fi + +rm -rf *.root *.dat *.log fort* hlt hough raw* *~ + +${REXE} -b -q sim.C 2>&1 | tee sim.log +${REXE} -b -q rec.C 2>&1 | tee rec.log +${REXE} -b -q ${ALICE_ROOT}/STEER/CreateAODfromESD.C 2>&1 | tee aod.log + + + + -- 2.31.1