svn commit: r367709 - head/devel/ice/files

Michael Gmelin grembo at FreeBSD.org
Mon Sep 8 22:52:14 UTC 2014


Author: grembo
Date: Mon Sep  8 22:41:01 2014
New Revision: 367709
URL: http://svnweb.freebsd.org/changeset/ports/367709
QAT: https://qat.redports.org/buildarchive/r367709/

Log:
  Change test framework, so unit tests won't hang on exit in case of failure.
  
  Approved by:	mentors (implicit)

Added:
  head/devel/ice/files/patch-scripts-Expect.py   (contents, props changed)

Added: head/devel/ice/files/patch-scripts-Expect.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ice/files/patch-scripts-Expect.py	Mon Sep  8 22:41:01 2014	(r367709)
@@ -0,0 +1,11 @@
+--- scripts/Expect.py.orig	2013-03-11 15:19:47.000000000 +0000
++++ scripts/Expect.py	2014-09-08 22:32:43.000000000 +0000
+@@ -461,7 +461,7 @@
+             if win32 and self.exitstatus != 0 and self.killed is not None:
+                 self.exitstatus = -self.killed
+             self.p = None
+-            self.r.join()
++            self.r.join(timeout)
+             # Simulate a match on EOF
+             self.buf = self.r.getbuf()
+             self.before = self.buf


More information about the svn-ports-head mailing list