aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/run.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-23 10:34:01 +0900
committernsfisis <nsfisis@gmail.com>2025-08-23 10:34:01 +0900
commitd83647f390d2910547ada2854eee6189e8552cb8 (patch)
treeaa52933f9993e7b13390ab0bd7a54e56b4af513b /tests/run.sh
parent22cd700370d5d548a0cbd347bf1dc9cb9baad8e2 (diff)
downloadducc-d83647f390d2910547ada2854eee6189e8552cb8.tar.gz
ducc-d83647f390d2910547ada2854eee6189e8552cb8.tar.zst
ducc-d83647f390d2910547ada2854eee6189e8552cb8.zip
refactor: test helpers
Diffstat (limited to 'tests/run.sh')
-rw-r--r--tests/run.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/run.sh b/tests/run.sh
index 0e28a96..27bd6d0 100644
--- a/tests/run.sh
+++ b/tests/run.sh
@@ -12,7 +12,10 @@ if [[ ! -f "$test_file" ]]; then
exit 1
fi
+source tests/test_helpers.sh
+
echo "$test_file"
mkdir -p "$tmp_dir"
cd "$tmp_dir"
-bash "../../../$test_file"
+source "../../../$test_file"
+cd "../../.."