Skip to contentSkip to conversation

ts-xtf-run: Understand ./xtf-runner returning CRASH

PATCH In review Andrew Cooper 3 participants 5 messages Mar 7, 2017 – Apr 7, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>

---
 ts-xtf-run | 1 +
 1 file changed, 1 insertion(+)
ts-xtf-run +1 -0
index d405bfb..c95ec5f 100755
@@ -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";
 }
 
Signature · 7 lines
2.1.4


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
#2 lore raw
Quoted 4 lines · Ian Jackson

Andrew Cooper writes ("[OSSTEST PATCH] ts-xtf-run: Understand ./xtf-runner returning CRASH"):

Quoted 2 lines

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

Ping on this getting accepted? I have some XTF improvements queued behind not breaking OSSTest.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#3 lore raw

Andrew Cooper writes ("Re: [OSSTEST PATCH] ts-xtf-run: Understand ./xtf-runner returning CRASH"):

Quoted 2 lines

Ping on this getting accepted? I have some XTF improvements queued behind not breaking OSSTest.

Sorry for dropping this. I have queued it up and will push it with the TLS MITM series.

Ian.

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel