Return-Path: Delivered-To: apmail-gump-commits-archive@www.apache.org Received: (qmail 14463 invoked from network); 16 Apr 2005 18:28:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Apr 2005 18:28:36 -0000 Received: (qmail 18268 invoked by uid 500); 16 Apr 2005 18:28:35 -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 18253 invoked by uid 99); 16 Apr 2005 18:28:35 -0000 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,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; Sat, 16 Apr 2005 11:28:35 -0700 Received: (qmail 14460 invoked by uid 65534); 16 Apr 2005 18:28:34 -0000 Message-ID: <20050416182834.14459.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Mailer: svnmailer-1.0.0-dev Date: Sat, 16 Apr 2005 18:28:34 -0000 Subject: svn commit: r161589 - gump/branches/Gump3/pygump/python/gump/test/testUtilExecutor.py To: commits@gump.apache.org From: leosimons@apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: leosimons Date: Sat Apr 16 11:28:32 2005 New Revision: 161589 URL: http://svn.apache.org/viewcvs?view=3Drev&rev=3D161589 Log: Disable process cleanup test. * pygump/python/gump/test/testUtilExecutor.py: this still is not always con= sistently run last, so disable the process cleanup at-the-end testing. Modified: gump/branches/Gump3/pygump/python/gump/test/testUtilExecutor.py Modified: gump/branches/Gump3/pygump/python/gump/test/testUtilExecutor.py URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/t= est/testUtilExecutor.py?view=3Ddiff&r1=3D161588&r2=3D161589 =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/test/testUtilExecutor.py (origin= al) +++ gump/branches/Gump3/pygump/python/gump/test/testUtilExecutor.py Sat Apr= 16 11:28:32 2005 @@ -51,22 +51,25 @@ result =3D Popen(["pwd"], stdout=3DPIPE).communicate()[0] self.assertNotEqual("", result) =20 + # Still not always running last. Need to fix the testrunner, until + # then, disable this... + # # This test can only be run once, since after the call to # "clean_up_processes" all future invocations of subprocesses # will fail. Therefore this class and its methods are awkwardly # named (the ZZZ prefix) so we "ensure" they run last. It's # ugly, I know. - processes =3D [] - for i in range(0,10): - processes.append(Popen(["cat"], stdin=3DPIPE, stdout=3DPIPE)) - =20 - clean_up_processes(5) - for p in processes: - try: - pid, sts =3D os.waitpid(p.pid, os.WNOHANG) - self.assert_(os.WIFSIGNALED(exitcode), "Process should've = been signalled...") - except: - pass + #processes =3D [] + #for i in range(0,10): + # processes.append(Popen(["cat"], stdin=3DPIPE, stdout=3DPIPE)) + # =20 + #clean_up_processes(5) + #for p in processes: + # try: + # pid, sts =3D os.waitpid(p.pid, os.WNOHANG) + # self.assert_(os.WIFSIGNALED(exitcode), "Process should've= been signalled...") + # except: + # pass =20 # this is used by testrunner.py to determine what tests to run def test_suite():