subunit2sql/subunit2sql
Matthew Treinish 35793871f3
Fix handling of xfail and uxsuccess results in subunit2sql cli
This commit fixes an issue with the subunit2sql cli (for importing
subunit streams to the DB) when the subunit stream has a test_run with
an xfail or unxsuccess status. Previously we didn't handle these
statuses at all and we'd raise an exception because they weren't known.
This fixes this by treating xfail the same as success and uxsuccess the
same as failure.

Change-Id: Ib84eb5e4b2da4847e86ff24c8bc5ba19a0df5b37
2018-12-17 19:13:44 -05:00
..
analysis Clean up run_time graph style 2018-08-23 16:48:12 -04:00
db Add delete by uuid functions 2018-04-02 14:30:37 -07:00
migrations Fix mysql db api 2017-12-21 15:10:30 -06:00
targets Example of how to use targets plugins 2015-11-10 23:07:18 -08:00
tests Fix handling of xfail and uxsuccess results in subunit2sql cli 2018-12-17 19:13:44 -05:00
__init__.py Initial commit 2014-06-12 23:59:00 -04:00
exceptions.py Store counts for runs and tests 2014-06-16 11:02:21 -04:00
read_subunit.py Add subunit2sql CLI option to use non_subunit_name 2017-12-26 19:29:13 +00:00
shell.py Fix handling of xfail and uxsuccess results in subunit2sql cli 2018-12-17 19:13:44 -05:00
write_subunit.py Handle test_runs without metadata in write_subunit 2015-12-09 15:39:16 -05:00