note about error behavior of subunit2junitxml

This commit is contained in:
Jean-Paul Calderone 2023-08-09 09:24:37 -04:00
parent 7a389bb314
commit d56ac6d6a2

View File

@ -238,6 +238,11 @@ jobs:
# The Python for which we installed subunit is not necessarily on # The Python for which we installed subunit is not necessarily on
# %PATH% so (possibly) re-install it with the default Python. # %PATH% so (possibly) re-install it with the default Python.
python -m pip install python-subunit junitxml python -m pip install python-subunit junitxml
# subunit2junitxml exits with error if the result stream it is
# converting has test failures in it! So this step might fail.
# Since the step in which we actually _ran_ the tests won't fail
# even if there are test failures, this is a good thing for now.
subunit2junitxml --output-to=test-results.xml test-results.subunit2 subunit2junitxml --output-to=test-results.xml test-results.subunit2
- "store_test_results": - "store_test_results":