projects
/
barrelfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
b5c73f8
)
harness: Exit test when we encounter a line starting with "Aborted"
author
Simon Gerber
<simon.gerber@inf.ethz.ch>
Tue, 4 Oct 2016 14:36:20 +0000 (16:36 +0200)
committer
Simon Gerber
<simon.gerber@inf.ethz.ch>
Tue, 4 Oct 2016 14:36:20 +0000 (16:36 +0200)
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
tools/harness/tests/common.py
patch
|
blob
|
history
diff --git
a/tools/harness/tests/common.py
b/tools/harness/tests/common.py
index
aa6548c
..
f74916c
100644
(file)
--- a/
tools/harness/tests/common.py
+++ b/
tools/harness/tests/common.py
@@
-148,10
+148,11
@@
class TestCommon(Test):
return "client done"
def is_finished(self, line):
- # Exit test when we get an assertion failure, rather than waiting for
- # timeout
+ # Exit test when we get an assertion failure or an abort, rather than
+ # waiting for timeout
return line.startswith(self.get_finish_string()) or \
- line.startswith("Assertion failed on core")
+ line.startswith("Assertion failed on core") or \
+ line.startswith("Aborted")
def is_booted(self, line):
# early boot output from Barrelfish kernel