mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
Does a test-all using /tmp. Not safe to run with other tests simultaneously. You use it just like tools/review, and on a successful test-all it will submit the code review, without tying up your git working directory. It depends on new patches to the acrefoot-bulk_create_with_id-1.5.1 branch of django. Updating this is the [manual] step required. Since test-all doesn't happen on staging or prod, this is not required for this commit to be deployed, but other django patches will help with the SSL connection errors we've been seeing. (imported from commit 3fd3ff00240a2d648c4c54748a8a70616067ef7d)
17 lines
365 B
Bash
Executable File
17 lines
365 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
target='zephyr'
|
|
|
|
case "$1" in
|
|
zephyr*)
|
|
target="$1"
|
|
shift
|
|
;;
|
|
esac
|
|
|
|
cd "$(dirname "$0")"/..
|
|
./zephyr/tests/generate-fixtures
|
|
# "-u" uses unbuffered IO, which is important when wrapping it in
|
|
# something like subprocess (as tools/review does)
|
|
/usr/bin/env python -u ./manage.py test "$target" --settings=humbug.test_settings "$@"
|