mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-08 11:24:25 +00:00
Fix the ratchet.sh script.
This commit is contained in:
parent
2e5a982fde
commit
a2e707225b
@ -9,11 +9,10 @@ base=$(pwd)
|
||||
# Actually, though, trial outputs some things that are only gitignored in the project root.
|
||||
cd "../.."
|
||||
|
||||
# Since both of the next calls are expected to exit non-0, relax our guard.
|
||||
set +e
|
||||
trial --reporter=subunitv2-file allmydata
|
||||
subunit2junitxml < "${SUBUNITREPORTER_OUTPUT_PATH}" > "$base/results.xml"
|
||||
set -e
|
||||
export SUBUNITREPORTER_OUTPUT_PATH="$base/results.subunit2"
|
||||
# Since the next two calls are expected to exit non-0, relax our guard.
|
||||
trial --reporter=subunitv2-file allmydata || true
|
||||
subunit2junitxml < "${SUBUNITREPORTER_OUTPUT_PATH}" > "$base/results.xml" || true
|
||||
|
||||
# Okay, now we're clear.
|
||||
cd "$base"
|
||||
|
Loading…
x
Reference in New Issue
Block a user