projects
/
barrelfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
287e8b6
)
harness: xeon_phi_boot test: make sure that we see xeon_phi.(\d+).ready `nphi` times...
author
Simon Gerber
<simon.gerber@inf.ethz.ch>
Wed, 19 Oct 2016 15:48:58 +0000 (17:48 +0200)
committer
Simon Gerber
<simon.gerber@inf.ethz.ch>
Wed, 19 Oct 2016 15:48:58 +0000 (17:48 +0200)
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
tools/harness/tests/xeonphi.py
patch
|
blob
|
history
diff --git
a/tools/harness/tests/xeonphi.py
b/tools/harness/tests/xeonphi.py
index
ccc9053
..
bf1fd16
100644
(file)
--- a/
tools/harness/tests/xeonphi.py
+++ b/
tools/harness/tests/xeonphi.py
@@
-129,9
+129,10
@@
class XeonPhi_Boot_Test(TestCommon):
# the test passed iff the last line is the finish string
lastline = ''
passed = False;
+ phi_up_count = 0
for line in rawiter:
m = re.search("Xeon Phi operational: xeon_phi." + str(self.nphi - 1) + ".ready", line)
- if m :
- passed = True
-
- return PassFailResult(passed)
+ if m:
+ phi_count_up = phi_count_up + 1
+
+ return PassFailResult(phi_count_up == self.nphi)