summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2024-04-23 12:05:37 +0100
committerRichard van der Hoff <richard@matrix.org>2024-04-23 12:05:37 +0100
commit2f6cf12255cc4e1c037f761b8184789da8121c1d (patch)
tree5837610dbaaefba2928e201adf21218d2e394d50
parentcomplement.sh: run tests from all test packages (diff)
downloadsynapse-2f6cf12255cc4e1c037f761b8184789da8121c1d.tar.xz
-rwxr-xr-xscripts-dev/complement.sh10
1 files 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[@]}"