mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-30 08:04:08 +00:00
move path var definition higher up
This commit is contained in:
parent
da007ef21d
commit
305d16af69
@ -12,6 +12,14 @@ shift || :
|
||||
# Make sure we can actually write things to this directory.
|
||||
sudo --user nobody mkdir -p "${ARTIFACTS}"
|
||||
|
||||
TOX_JSON="${ARTIFACTS}"/tox-result.json
|
||||
SUBUNIT1="${ARTIFACTS}"/results.subunit1
|
||||
SUBUNIT2="${ARTIFACTS}"/results.subunit2
|
||||
|
||||
# Use an intermediate directory here because CircleCI extracts some label
|
||||
# information from its name.
|
||||
JUNITXML="${ARTIFACTS}"/junit/unittests/results.xml
|
||||
|
||||
# Run the test suite as a non-root user. This is the expected usage some
|
||||
# small areas of the test suite assume non-root privileges (such as unreadable
|
||||
# files being unreadable).
|
||||
@ -29,14 +37,6 @@ sudo TAHOE_LAFS_TRIAL_ARGS="--reporter=subunit" \
|
||||
-e "${TAHOE_LAFS_TOX_ENVIRONMENT}" \
|
||||
${TAHOE_LAFS_TOX_ARGS}
|
||||
|
||||
TOX_JSON="${ARTIFACTS}"/tox-result.json
|
||||
SUBUNIT1="${ARTIFACTS}"/results.subunit1
|
||||
SUBUNIT2="${ARTIFACTS}"/results.subunit2
|
||||
|
||||
# Use an intermediate directory here because CircleCI extracts some label
|
||||
# information from its name.
|
||||
JUNITXML="${ARTIFACTS}"/junit/unittests/results.xml
|
||||
|
||||
# Extract the test process output which should be subunit1-format.
|
||||
/tmp/tests/bin/python -c '
|
||||
from json import load
|
||||
|
Loading…
x
Reference in New Issue
Block a user