Skip to content

Commit

Permalink
config/runtime/kunit.jinja2: fix result map
Browse files Browse the repository at this point in the history
Fix result map for skipped tests. Initially, API
didn't have `skip` available node result in the schema.
That's why it was mapped to `None` result. But now API
has `skip` result to denote skipped tests.
Fix the result mapping accordingly.

Signed-off-by: Jeny Sadadia <[email protected]>
  • Loading branch information
Jeny Sadadia authored and nuclearcat committed Jun 4, 2024
1 parent 3c2b63c commit 058e972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/runtime/kunit.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import kernelci.api.helper
RESULT_MAP = {
'PASS': 'pass',
'FAIL': 'fail',
'SKIP': None,
'SKIP': 'skip',
}
ARCH = '{{ arch }}'
{% endblock %}
Expand Down

0 comments on commit 058e972

Please sign in to comment.