From 2659910e059adb735bb01586ff54d2db1aa4191e Mon Sep 17 00:00:00 2001 From: Dan Callaghan Date: Jul 07 2016 03:56:36 +0000 Subject: support Skip result Bug: 1324607 Change-Id: I88e539e56565a36cfbb5fc824392379f2e1daaf7 --- diff --git a/beah/backends/beakerlc.py b/beah/backends/beakerlc.py index d5190e7..eb8e7fa 100644 --- a/beah/backends/beakerlc.py +++ b/beah/backends/beakerlc.py @@ -1289,6 +1289,7 @@ class BeakerResult(BeakerObject, PersistentItem): log.debug("relation result_file processed. finfo updated: %r", file) RESULT_TYPE = { + RC.SKIP: ("skip", "Skip"), RC.PASS:("pass_", "Pass"), RC.WARNING:("warn", "Warning"), RC.FAIL:("fail", "Fail"), diff --git a/beah/core/constants.py b/beah/core/constants.py index 0bab5d1..6895755 100644 --- a/beah/core/constants.py +++ b/beah/core/constants.py @@ -18,7 +18,8 @@ class RC: - PASS = 0 + SKIP = 0 + PASS = 10 WARNING = 50 FAIL = 60 CRITICAL = 70 diff --git a/beah/tasks/rhts_xmlrpc.py b/beah/tasks/rhts_xmlrpc.py index 0fb4e1b..3f42ee0 100644 --- a/beah/tasks/rhts_xmlrpc.py +++ b/beah/tasks/rhts_xmlrpc.py @@ -55,6 +55,7 @@ USE_DEFAULT = object() # AUXILIARY: ################################################################################ __RESULT_RHTS_TO_BEAH = { + "skip": RC.SKIP, "pass": RC.PASS, "warn": RC.WARNING, "fail": RC.FAIL,