[Buildbot-commits] buildbot/buildbot/test test_vc.py,1.59,1.60

Brian Warner warner at users.sourceforge.net
Mon Jun 12 08:36:34 UTC 2006


Update of /cvsroot/buildbot/buildbot/buildbot/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv17088/buildbot/test

Modified Files:
	test_vc.py 
Log Message:
[project @ test_vc.py (P4): print something useful when we can't start the p4d server]

Original author: warner at lothar.com
Date: 2006-06-12 08:18:39

Index: test_vc.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/test/test_vc.py,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -d -r1.59 -r1.60
--- test_vc.py	12 Jun 2006 08:36:27 -0000	1.59
+++ test_vc.py	12 Jun 2006 08:36:32 -0000	1.60
@@ -1396,12 +1396,16 @@
                 if data.startswith('Perforce Server starting...'):
                     self.started.callback(None)
                 else:
+                    print "p4d said %r" % data
                     try:
                         raise Exception('p4d said %r' % data)
                     except:
                         self.started.errback(failure.Failure())
                 self.started = None
 
+        def errReceived(self, data):
+            print "p4d stderr: %s" % data
+
         def processEnded(self, status_object):
             if status_object.check(error.ProcessDone):
                 self.ended.callback(None)





More information about the Commits mailing list