X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2Frun_log;h=08833aa0fb8c270bbaff6fe35ea59f83429c30c8;hb=de7d5e8f60adaa9fc3d16efa80eee4968546c839;hp=e1704630d3287bba1c7844a62796352feac384ee;hpb=b47b8fa60bc6c6c554e345205aca15fed8db8c0c;p=tests.git diff --git a/system/run_log b/system/run_log index e170463..08833aa 100755 --- a/system/run_log +++ b/system/run_log @@ -14,7 +14,9 @@ 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 ; retcod=$? cat logs/$runfile -[ "$retcod" == 0 ] && touch logs/success +case "$retcod" in + 0) touch logs/success ;; + 2) touch logs/warning ;; +esac -echo "run_log is exiting" $retcod exit $retcod