summary refs log tree commit diff
path: root/scripts-dev
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2023-10-30 12:28:01 +0000
committerErik Johnston <erik@matrix.org>2023-10-30 12:28:01 +0000
commitab4d4073de06ae1167efb92ba52af0a056562c93 (patch)
tree64f5dc8c535dabf0bbcb1c48ac2e33d99ed94a68 /scripts-dev
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
parentFix HTTP repl response to use minimum token (#16578) (diff)
downloadsynapse-ab4d4073de06ae1167efb92ba52af0a056562c93.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'scripts-dev')
-rwxr-xr-xscripts-dev/complement.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts-dev/complement.sh b/scripts-dev/complement.sh

index 3e0cddb527..b1a8724b7e 100755 --- a/scripts-dev/complement.sh +++ b/scripts-dev/complement.sh
@@ -216,6 +216,10 @@ extra_test_args=() test_packages="./tests/csapi ./tests ./tests/msc3874 ./tests/msc3890 ./tests/msc3391 ./tests/msc3930 ./tests/msc3902" +# Enable dirty runs, so tests will reuse the same container where possible. +# This significantly speeds up tests, but increases the possibility of test pollution. +export COMPLEMENT_ENABLE_DIRTY_RUNS=1 + # All environment variables starting with PASS_ will be shared. # (The prefix is stripped off before reaching the container.) export COMPLEMENT_SHARE_ENV_PREFIX=PASS_ @@ -274,7 +278,7 @@ fi export PASS_SYNAPSE_LOG_TESTING=1 # Run the tests! -echo "Images built; running complement" +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