diff options
author | Michael Gmelin <grembo@FreeBSD.org> | 2014-09-08 22:41:01 +0000 |
---|---|---|
committer | Michael Gmelin <grembo@FreeBSD.org> | 2014-09-08 22:41:01 +0000 |
commit | d24362f48bbb58f22a69e382bc7b7a65ee5a8e7c (patch) | |
tree | f7e00b1a4f6fa98f68ddab4b5b5f410485f7f3ba /devel/ice | |
parent | 07dee5dd02d779c0c1c8e8d2319bd2be741ade18 (diff) | |
download | ports-d24362f48bbb58f22a69e382bc7b7a65ee5a8e7c.tar.gz ports-d24362f48bbb58f22a69e382bc7b7a65ee5a8e7c.zip |
Change test framework, so unit tests won't hang on exit in case of failure.
Approved by: mentors (implicit)
Notes
Notes:
svn path=/head/; revision=367709
Diffstat (limited to 'devel/ice')
-rw-r--r-- | devel/ice/files/patch-scripts-Expect.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/ice/files/patch-scripts-Expect.py b/devel/ice/files/patch-scripts-Expect.py new file mode 100644 index 000000000000..d73c2adcffc6 --- /dev/null +++ b/devel/ice/files/patch-scripts-Expect.py @@ -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 |