Skip to content

Commit b273092

Browse files
committed
contest: vm: add ' FAIL:' as a failure indicator
Looks like we're missing the failures in rtnetlink.sh right now, since they incorrectly set exit code and only print a "FAIL: ..." message. Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 0a35771 commit b273092

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

contest/remote/lib/vm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ def new_vm(results_path, vm_id, thr=None, vm=None, config=None, cwd=None):
417417
def guess_indicators(output):
418418
return {
419419
"fail": output.find("[FAIL]") != -1 or output.find("[fail]") != -1 or \
420+
output.find(" FAIL:") != -1 or \
420421
output.find("\nnot ok 1 selftests: ") != -1 or \
421422
output.find("\n# not ok 1") != -1,
422423
"skip": output.find("[SKIP]") != -1 or output.find("[skip]") != -1 or \

0 commit comments

Comments
 (0)