From 2f6cf12255cc4e1c037f761b8184789da8121c1d Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Tue, 23 Apr 2024 12:05:37 +0100 Subject: [PATCH] fixes --- scripts-dev/complement.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/scripts-dev/complement.sh b/scripts-dev/complement.sh index bf3c8e3304..3358062a8f 100755 --- a/scripts-dev/complement.sh +++ b/scripts-dev/complement.sh @@ -276,8 +276,12 @@ fi export PASS_SYNAPSE_LOG_TESTING=1 # Run the tests! -test_packages=$(find tests -type d) -echo "Images built; running complement with ${extra_test_args[@]} $@ $test_packages" cd "$COMPLEMENT_DIR" -go test -v -tags "synapse_blacklist" -count=1 "${extra_test_args[@]}" "$@" $test_packages +# This isn't whitespace-safe but *does* work on the prehistoric version of bash +# on OSX. +test_packages=( $(find ./tests -type d) ) + +echo "Images built; running complement with ${extra_test_args[@]} $@ ${test_packages[@]}" + +go test -v -tags "synapse_blacklist" -count=1 "${extra_test_args[@]}" "$@" "${test_packages[@]}"