Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Yusei Tahara
slapos
Commits
a596dc45
Commit
a596dc45
authored
Oct 24, 2016
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rina: change how we report XFAIL so that the overall status is PASS if there's no FAIL/XPASS/ERROR
parent
6f436b16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
software/build-rina/runTestSuite.in
software/build-rina/runTestSuite.in
+6
-6
No files found.
software/build-rina/runTestSuite.in
View file @
a596dc45
...
@@ -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',
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment