Commit a596dc45 authored by Julien Muchembled's avatar Julien Muchembled

rina: change how we report XFAIL so that the overall status is PASS if there's no FAIL/XPASS/ERROR

parent 6f436b16
...@@ -12,16 +12,16 @@ from erp5.util.testsuite import format_command ...@@ -12,16 +12,16 @@ from erp5.util.testsuite import format_command
dist_list = {{vm['dists'].split()}} dist_list = {{vm['dists'].split()}}
publish = {{slapparameter_dict.get('publish')}} publish = {{slapparameter_dict.get('publish')}}
# ERP5 must be changed to only distinguish SKIP/EXPECTED/UNEXPECTED,
# instead of SKIP/FAIL/ERROR. Unlike NEO, we categorize XFAIL as SKIP
# so that the overall status is PASS if there's no FAIL/XPASS/ERROR.
STAT_MAP = dict( STAT_MAP = dict(
TOTAL = 'test_count', TOTAL = 'test_count',
PASS = None, PASS = None,
SKIP = 'skip_count', SKIP = 'skip_count',
# Same as for NEO. ERP5 must be changed to only distinguish XFAIL = 'skip_count',
# - expected (-> 'failure' for now) and FAIL = 'failure_count',
# - unexpected (-> 'error') failures. XPASS = 'failure_count',
XFAIL = 'failure_count',
FAIL = 'error_count',
XPASS = 'error_count',
ERROR = 'error_count', ERROR = 'error_count',
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment