X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2Frun_log;h=e1704630d3287bba1c7844a62796352feac384ee;hb=87f953c20a5a10273673e0fab3a6ded79475ad4c;hp=16ed9346aa9374ae26a80826d5ffecb5ddf02801;hpb=ecd8c71c8aba3484eff887951c0b41c1a8405ec7;p=tests.git diff --git a/system/run_log b/system/run_log index 16ed934..e170463 100755 --- a/system/run_log +++ b/system/run_log @@ -12,11 +12,9 @@ tracelast=trace rm -f logs/success rm -f logs/$runlast; (cd logs; ln -s $runfile $runlast) rm -f logs/$tracelast; (cd logs; ln -s $tracefile $tracelast) -python -u TestMain.py -t logs/$tracefile "$@" &> logs/$runfile && touch logs/success +python -u TestMain.py -t logs/$tracefile "$@" &> logs/$runfile ; retcod=$? cat logs/$runfile +[ "$retcod" == 0 ] && touch logs/success -if [ -f logs/success ] ; then - exit 0 -else - exit 1 -fi +echo "run_log is exiting" $retcod +exit $retcod