All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrew Cooper <andrew.cooper3@citrix.com>
To: Xen-devel <xen-devel@lists.xen.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>,
	Ian Jackson <Ian.Jackson@eu.citrix.com>,
	Wei Liu <wei.liu2@citrix.com>
Subject: [OSSTEST PATCH] ts-xtf-run: Understand ./xtf-runner returning CRASH
Date: Tue, 7 Mar 2017 15:26:52 +0000	[thread overview]
Message-ID: <1488900412-13034-1-git-send-email-andrew.cooper3@citrix.com> (raw)

./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@citrix.com>
---
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>
CC: Wei Liu <wei.liu2@citrix.com>
---
 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@lists.xen.org
https://lists.xen.org/xen-devel

             reply	other threads:[~2017-03-07 15:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-07 15:26 Andrew Cooper [this message]
2017-03-07 15:38 ` [OSSTEST PATCH] ts-xtf-run: Understand ./xtf-runner returning CRASH Ian Jackson
2017-04-06 18:20   ` Andrew Cooper
2017-04-07  9:40     ` Ian Jackson
2017-03-13  9:23 ` Wei Liu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1488900412-13034-1-git-send-email-andrew.cooper3@citrix.com \
    --to=andrew.cooper3@citrix.com \
    --cc=Ian.Jackson@eu.citrix.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xen.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.