Return-Path: Delivered-To: apmail-gump-commits-archive@www.apache.org Received: (qmail 10500 invoked from network); 24 Apr 2005 15:22:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 24 Apr 2005 15:22:15 -0000 Received: (qmail 44009 invoked by uid 500); 24 Apr 2005 15:22:43 -0000 Mailing-List: contact commits-help@gump.apache.org; run by ezmlm Precedence: bulk Reply-To: commits@gump.apache.org List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@gump.apache.org Received: (qmail 43994 invoked by uid 99); 24 Apr 2005 15:22:43 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from minotaur.apache.org (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.28) with SMTP; Sun, 24 Apr 2005 08:22:43 -0700 Received: (qmail 10494 invoked by uid 65534); 24 Apr 2005 15:22:13 -0000 Message-ID: <20050424152213.10493.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: svn commit: r164483 - /gump/branches/Gump3/pygump/python/gump/plugins/builder.py Date: Sun, 24 Apr 2005 15:22:13 -0000 To: commits@gump.apache.org From: leosimons@apache.org X-Mailer: svnmailer-1.0.0-dev X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: leosimons Date: Sun Apr 24 08:22:12 2005 New Revision: 164483 URL: http://svn.apache.org/viewcvs?rev=3D164483&view=3Drev 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: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D FAIL: test_do_script (testPluginBuilder.BuilderTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File /home/gump3/Gump3/gump/test/testPluginBuilder.py, line 66, in test_d= o_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/p= lugins/builder.py?rev=3D164483&r1=3D164482&r2=3D164483&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- 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 +=3D ".sh" =20 - # if not isfile(scriptfile): - # raise Error, "No script '%s' found!" % scriptfile + if not isfile(scriptfile): + raise Error, "No script '%s' found!" % scriptfile =20 args =3D [scriptfile] + script.args cmd =3D Popen(args,shell=3DTrue,cwd=3Dprojectpath,stdout=3DPIPE,st= derr=3DSTDOUT)