zulip/tools/test-backend
Tim Abbott 7b9305b06f Rename Django project to zproject.
This includes a hack to preserve humbug/backends.py as a symlink, so
that we don't need to regenerate all our old sessions.

(imported from commit b7918988b31c71ec01bbdc270db7017d4069221d)
2013-08-07 11:04:03 -04:00

17 lines
367 B
Bash
Executable File

#!/bin/bash -e
target='zerver'
case "$1" in
zerver*)
target="$1"
shift
;;
esac
cd "$(dirname "$0")"/..
./zerver/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=zproject.test_settings "$@"