mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-07 10:56:49 +00:00
Back out subunit2junitxml exit status change from ticket:3336
I don't know why I included this change. It was certainly based on a faulty assumption (that the tox command would exit with error if a test failed - it won't). Apart from that, the motivation was the Python 3.6 ratchet job. The test run was expected to fail but then the *ratchet* tool was in charge of deciding if this indicated real failure or not. Failing at this point prevented that logic from running. Now the ratchet is gone and we want CI to turn red if anything fails.
This commit is contained in:
parent
41fe405068
commit
6eba1469f3
@ -88,9 +88,5 @@ if [ -n "${ARTIFACTS}" ]; then
|
||||
|
||||
# Create a junitxml results area.
|
||||
mkdir -p "$(dirname "${JUNITXML}")"
|
||||
# Always succeed even if subunit2junitxml fails. subunit2junitxml signals
|
||||
# failure if the stream it is processing contains test failures. This is
|
||||
# not what we care about. If we cared about it, the test command above
|
||||
# would have signalled failure already and we wouldn't be here.
|
||||
"${BOOTSTRAP_VENV}"/bin/subunit2junitxml < "${SUBUNIT2}" > "${JUNITXML}" || true
|
||||
"${BOOTSTRAP_VENV}"/bin/subunit2junitxml < "${SUBUNIT2}" > "${JUNITXML}" || "${alternative}"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user