[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH] ts-xtf-run: Understand ./xtf-runner returning CRASH



./xtf-runner wants to distinguish between a clean and unclean exits of the
test.  OSSTest doesn't care, so map unclean exit to failure.

Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
---
CC: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
CC: Wei Liu <wei.liu2@xxxxxxxxxx>
---
 ts-xtf-run | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ts-xtf-run b/ts-xtf-run
index d405bfb..c95ec5f 100755
--- a/ts-xtf-run
+++ b/ts-xtf-run
@@ -39,6 +39,7 @@ sub xtf_result_to_osstest_result ($) {
     return "skip" if $xret == 3; # XTF SKIP
     return "fail" if $xret == 4; # XTF ERROR
     return "fail" if $xret == 5; # XTF FAILURE
+    return "fail" if $xret == 6; # XTF CRASH
     die "xtf runner gave unexpected result $xret";
 }
 
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.