You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by le...@apache.org on 2005/04/24 21:16:01 UTC

svn commit: r164496 - /gump/branches/Gump3/gump

Author: leosimons
Date: Sun Apr 24 12:16:00 2005
New Revision: 164496

URL: http://svn.apache.org/viewcvs?rev=164496&view=rev
Log:
Attempt to reduce number of python processes the testrunner leaves lying around.

* ./gump: add an exit() after each import to try and convince python to stop itself.

Modified:
    gump/branches/Gump3/gump

Modified: gump/branches/Gump3/gump
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/gump?rev=164496&r1=164495&r2=164496&view=diff
==============================================================================
--- gump/branches/Gump3/gump (original)
+++ gump/branches/Gump3/gump Sun Apr 24 12:16:00 2005
@@ -543,7 +543,7 @@
   cd $GUMP_HOME/pygump
   local files=`find . -name '*.py' -not -path './work*' | sed -e 's/\.\///g' -e 's/\//./g' -e 's/\.py//g' -e 's/python\.//g' | grep -v __init__`
   for i in $files; do
-    $GUMP_PYTHON -c "import $i"
+    $GUMP_PYTHON -c "import $i; import sys; sys.exit()"
   done
   cd $current