From: Thierry Parmentelat Date: Mon, 27 Jan 2014 13:31:49 +0000 (+0100) Subject: print out exit codes X-Git-Tag: tests-5.3-2~26 X-Git-Url: http://git.onelab.eu/?p=tests.git;a=commitdiff_plain;h=6538ab6e1bc3d71412f4caf567cd18a11e1267c2 print out exit codes --- diff --git a/system/TestMain.py b/system/TestMain.py index ff6098f..4241e6a 100755 --- a/system/TestMain.py +++ b/system/TestMain.py @@ -539,4 +539,5 @@ steps refer to a method in TestPlc or to a step_* module if __name__ == "__main__": exit_code = TestMain().main() + print "TestMain exit code",exit_code sys.exit(exit_code) diff --git a/system/run_log b/system/run_log index 08833aa..0003226 100755 --- a/system/run_log +++ b/system/run_log @@ -19,4 +19,5 @@ case "$retcod" in 2) touch logs/warning ;; esac +echo run_log exit_code $retcod exit $retcod