mirror of
https://github.com/element-hq/synapse
synced 2024-10-01 05:12:41 +00:00
complement.sh: run tests from all test packages
... to save us remembering to add them to the list each time a new one is added.
This commit is contained in:
parent
074ef4d75f
commit
769e9b11cf
2 changed files with 2 additions and 2 deletions
1
changelog.d/17115.misc
Normal file
1
changelog.d/17115.misc
Normal file
|
@ -0,0 +1 @@
|
|||
`complement.sh`: run tests from all test packages.
|
|
@ -214,8 +214,6 @@ fi
|
|||
|
||||
extra_test_args=()
|
||||
|
||||
test_packages="./tests/csapi ./tests ./tests/msc3874 ./tests/msc3890 ./tests/msc3391 ./tests/msc3930 ./tests/msc3902 ./tests/msc3967"
|
||||
|
||||
# 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
|
||||
|
@ -278,6 +276,7 @@ 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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue