diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-06-20 12:38:43 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-06-20 12:38:43 +0200 |
commit | 89fcb61132c73afa2f808c54d6406f0073d8735a (patch) | |
tree | 498e3113020a668a51a0f782fe342db091713335 /scripts/Expect.py | |
parent | Print unexpected exceptions on C# Ice/dispatcher (diff) | |
download | ice-89fcb61132c73afa2f808c54d6406f0073d8735a.tar.bz2 ice-89fcb61132c73afa2f808c54d6406f0073d8735a.tar.xz ice-89fcb61132c73afa2f808c54d6406f0073d8735a.zip |
No longer kill tests on timeout
Diffstat (limited to 'scripts/Expect.py')
-rwxr-xr-x | scripts/Expect.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/Expect.py b/scripts/Expect.py index f33c4dfb1fb..a9d5c52144e 100755 --- a/scripts/Expect.py +++ b/scripts/Expect.py @@ -411,6 +411,9 @@ class Expect (object): if startReader: self.startReader() + def __str__(self): + return "{0} pid={1}".format(self.desc, "<none>" if self.p is None else self.p.pid) + def startReader(self, watchDog = None): if watchDog is not None: self.r.setWatchDog(watchDog) @@ -618,7 +621,7 @@ class Expect (object): test(self.exitstatus, exitstatus) def getOutput(self): - return self.buf + return self.buf if self.p is None else self.r.getbuf() def hasInterruptSupport(self): """Return True if the application gracefully terminated, False otherwise.""" |