mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 09:19:15 -04:00
Change test framework, so unit tests won't hang on exit in case of failure.
Approved by: mentors (implicit)
This commit is contained in:
parent
07dee5dd02
commit
d24362f48b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367709
1 changed files with 11 additions and 0 deletions
11
devel/ice/files/patch-scripts-Expect.py
Normal file
11
devel/ice/files/patch-scripts-Expect.py
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue