Read TMT_TEST_DATA variable for LOGS in browser.sh
This commit is contained in:
parent
2336ba0e91
commit
cfd219f31f
1 changed files with 2 additions and 1 deletions
|
|
@ -3,7 +3,8 @@ set -eux
|
||||||
|
|
||||||
TESTS="$(realpath $(dirname "$0"))"
|
TESTS="$(realpath $(dirname "$0"))"
|
||||||
SOURCE="$(realpath $TESTS/../..)"
|
SOURCE="$(realpath $TESTS/../..)"
|
||||||
LOGS="$(pwd)/logs"
|
# https://tmt.readthedocs.io/en/stable/overview.html#variables
|
||||||
|
LOGS="${TMT_TEST_DATA:-$(pwd)/logs}"
|
||||||
FILES="$(realpath $TESTS/../files)"
|
FILES="$(realpath $TESTS/../files)"
|
||||||
mkdir -p "$LOGS"
|
mkdir -p "$LOGS"
|
||||||
chmod a+w "$LOGS"
|
chmod a+w "$LOGS"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue