gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r164483 - /gump/branches/Gump3/pygump/python/gump/plugins/builder.py
Date Sun, 24 Apr 2005 15:22:13 GMT
Author: leosimons
Date: Sun Apr 24 08:22:12 2005
New Revision: 164483

URL: http://svn.apache.org/viewcvs?rev=164483&view=rev
Log:
Fix testcase error introduced in builder.py.

* pygump/python/gump/plugins/builder.py: commenting out this existence test makes the associated
testcase fail under posix. Error log:

======================================================================
FAIL: test_do_script (testPluginBuilder.BuilderTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File /home/gump3/Gump3/gump/test/testPluginBuilder.py, line 66, in test_do_script
AssertionError: Error not raised

----------------------------------------------------------------------

Modified:
    gump/branches/Gump3/pygump/python/gump/plugins/builder.py

Modified: gump/branches/Gump3/pygump/python/gump/plugins/builder.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/plugins/builder.py?rev=164483&r1=164482&r2=164483&view=diff
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/plugins/builder.py (original)
+++ gump/branches/Gump3/pygump/python/gump/plugins/builder.py Sun Apr 24 08:22:12 2005
@@ -60,8 +60,8 @@
             else:
                 scriptfile += ".sh"
             
-        #    if not isfile(scriptfile):
-        #        raise Error, "No script '%s' found!" % scriptfile
+            if not isfile(scriptfile):
+                raise Error, "No script '%s' found!" % scriptfile
         
         args = [scriptfile] + script.args
         cmd = Popen(args,shell=True,cwd=projectpath,stdout=PIPE,stderr=STDOUT)



Mime
View raw message