aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-10-30 09:16:55 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-10-30 09:16:55 -0400
commit9aa6d8c681bcf6d6c0df25b2d0624e6ee6abd3c5 (patch)
tree64a2a730020a968b0d0db2e2bc8374956c62f625 /tests
parentac564ea340771b6dbf10ebdb64d5fede55da342d (diff)
downloadstasis-9aa6d8c681bcf6d6c0df25b2d0624e6ee6abd3c5.tar.gz
Exposes TOPDIR and TEST_DATA variables to test script(s)
Diffstat (limited to 'tests')
-rw-r--r--tests/setup.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/setup.sh b/tests/setup.sh
index 78c710d..014f7fc 100644
--- a/tests/setup.sh
+++ b/tests/setup.sh
@@ -21,7 +21,8 @@ if [[ -z "$PYTHON_VERSIONS" ]]; then
fi
setup_script_dir="$(dirname ${BASH_SOURCE[0]})"
-TOPDIR=$(pwd)
+export TOPDIR=$(pwd)
+export TEST_DATA="$TOPDIR"/data
WS_DEFAULT=rt_workspace_
setup_workspace() {