X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2Frun_log;h=0003226506cf2fb986847f2f7eaeeeb396544919;hb=29add6ace27b5debf81984cb9df0c1e4ced7942f;hp=e1704630d3287bba1c7844a62796352feac384ee;hpb=87f953c20a5a10273673e0fab3a6ded79475ad4c;p=tests.git diff --git a/system/run_log b/system/run_log index e170463..0003226 100755 --- a/system/run_log +++ b/system/run_log @@ -14,7 +14,10 @@ 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 +echo run_log exit_code $retcod exit $retcod