You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by bo...@apache.org on 2010/07/11 11:27:16 UTC
svn commit: r963022 - in /gump/trunk: python/gump/test/pyunit.py
test/gumptest.sh
Author: bodewig
Date: Sun Jul 11 09:27:15 2010
New Revision: 963022
URL: http://svn.apache.org/viewvc?rev=963022&view=rev
Log:
nobody knows the unit tests have been broken for months now
Modified:
gump/trunk/python/gump/test/pyunit.py
gump/trunk/test/gumptest.sh
Modified: gump/trunk/python/gump/test/pyunit.py
URL: http://svn.apache.org/viewvc/gump/trunk/python/gump/test/pyunit.py?rev=963022&r1=963021&r2=963022&view=diff
==============================================================================
--- gump/trunk/python/gump/test/pyunit.py (original)
+++ gump/trunk/python/gump/test/pyunit.py Sun Jul 11 09:27:15 2010
@@ -311,8 +311,10 @@ class TestRunner:
log.error('------------------------------------------------------------------------')
log.error('PROBLEM: ' + str(problem))
+ exit_code = 1
if not problems:
log.info('No Problems Detected')
+ exit_code = 0
problems = None
self.suites = None
@@ -320,9 +322,7 @@ class TestRunner:
# Seems a nice place to peek/clean-up...
invokeGarbageCollection('Done Testing')
- if problems:
- sys.exit(1)
- #sys.exit(0)
+ sys.exit(exit_code)
def doRun(ptrns):
gumpinit()
Modified: gump/trunk/test/gumptest.sh
URL: http://svn.apache.org/viewvc/gump/trunk/test/gumptest.sh?rev=963022&r1=963021&r2=963022&view=diff
==============================================================================
--- gump/trunk/test/gumptest.sh (original)
+++ gump/trunk/test/gumptest.sh Sun Jul 11 09:27:15 2010
@@ -45,16 +45,16 @@ echo "----------------------------------
echo "Run ... $GUMP_PYTHON gump/test/pyunit.py"
$GUMP_PYTHON gump/test/pyunit.py
-echo "--------------------------------------------------"
-echo "Run the environment check"
-$GUMP_PYTHON ../bin/env.py
+#echo "--------------------------------------------------"
+#echo "Run the environment check"
+#$GUMP_PYTHON ../bin/env.py
-echo "--------------------------------------------------"
+#echo "--------------------------------------------------"
# echo "Run the Workspace check"
# $GUMP_PYTHON ../bin/check.py -w ../metadata/test-workspace.xml all --debug
-echo "--------------------------------------------------"
+#echo "--------------------------------------------------"
# echo "Run the Workspace preview"
# $GUMP_PYTHON ../bin/preview.py -w ../metadata/test-workspace.xml all --debug