]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - test/fpprod/runtest.sh
Possibility to run on Windows/Cygwin
[u/mrichter/AliRoot.git] / test / fpprod / runtest.sh
index 3c0bd22a73d653c7f0d11c699adabbf6143a834c..0b175ca78b66a05a0d15e206e43cd892144ec3a9 100755 (executable)
@@ -1,12 +1,19 @@
 #!/bin/sh
+if [ "$ALICE_TARGET" = "win32gcc" ]
+    then
+    REXE=root_exe.exe
+else
+    REXE=aliroot
+fi
+
 
 rm -rf *.root *.dat *.log fort* hlt hough raw* *.inp *.o
-aliroot -b -q sim.C      2>&1 | tee sim.log
+${REXE} -b -q sim.C      2>&1 | tee sim.log
 mv syswatch.log simwatch.log
-aliroot -b -q rec.C      2>&1 | tee rec.log
+${REXE} -b -q rec.C      2>&1 | tee rec.log
 mv syswatch.log recwatch.log
-aliroot -b -q check.C 2>&1 | tee check.log
-aliroot -b -q aod.C 2>&1 | tee aod.log
+${REXE} -b -q check.C 2>&1 | tee check.log
+${REXE} -b -q aod.C 2>&1 | tee aod.log