From d24362f48bbb58f22a69e382bc7b7a65ee5a8e7c Mon Sep 17 00:00:00 2001 From: Michael Gmelin Date: Mon, 8 Sep 2014 22:41:01 +0000 Subject: Change test framework, so unit tests won't hang on exit in case of failure. Approved by: mentors (implicit) --- devel/ice/files/patch-scripts-Expect.py | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 devel/ice/files/patch-scripts-Expect.py (limited to 'devel/ice/files') 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 -- cgit v1.2.3