|
|
@@ -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 |