[Avida-SVN] r1630 - development/tests/_testrunner
brysonda at myxo.css.msu.edu
brysonda at myxo.css.msu.edu
Fri Jun 1 11:50:26 PDT 2007
Author: brysonda
Date: 2007-06-01 14:50:25 -0400 (Fri, 01 Jun 2007)
New Revision: 1630
Modified:
development/tests/_testrunner/testrunner.py
Log:
Update to TestRunner 1.4, incorporating Matt's fix to the term signal output
Modified: development/tests/_testrunner/testrunner.py
===================================================================
--- development/tests/_testrunner/testrunner.py 2007-06-01 18:47:38 UTC (rev 1629)
+++ development/tests/_testrunner/testrunner.py 2007-06-01 18:50:25 UTC (rev 1630)
@@ -52,7 +52,7 @@
# Global Constants
# ---------------------------------------------------------------------------------------------------------------------------
-TESTRUNNER_VERSION = "1.3b"
+TESTRUNNER_VERSION = "1.4"
TESTRUNNER_COPYRIGHT = "2007"
TRUE_STRINGS = ("y","Y","yes","Yes","true","True","1")
@@ -732,7 +732,8 @@
else:
print "failed\n"
if self.exitcode != 0:
- print "exit code: %d" % self.exitcode
+ print "exit code: %d" % os.WEXITSTATUS(self.exitcode)
+ print "term signal: %d" % os.WTERMSIG(self.exitcode)
else:
print "output variance(s):"
for err in self.errors: print err
More information about the Avida-cvs
mailing list