From c39cc0cc3b64b56868f8156ed2bffe84cb8ff7ca Mon Sep 17 00:00:00 2001 From: Brian Timar Date: Wed, 20 May 2020 14:13:57 -0700 Subject: [PATCH] custom testdir for pre --- tester/run-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tester/run-tests.sh b/tester/run-tests.sh index df0858134..1fb52c16d 100755 --- a/tester/run-tests.sh +++ b/tester/run-tests.sh @@ -182,9 +182,9 @@ fi # do a one-time setup step if (( $skippre == 0 )); then - if [[ -f tests/pre ]]; then + if [[ -f $testdir/pre ]]; then builtin echo -e "\e[33mdoing one-time pre-test\e[0m (use -s to suppress)" - source tests/pre + source $testdir/pre if (( $? != 0 )); then echo "pre-test: failed" exit 1