mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
Move generate-fixtures to tools/.
(imported from commit 3d452b17e315ba9adf91e33408a7711d16b069a2)
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh -xe
|
#!/bin/sh -xe
|
||||||
|
|
||||||
# This is a really simple wrapper script, pretty much for documenting clarity
|
# This is a really simple wrapper script, pretty much for documenting clarity
|
||||||
`dirname $0`/../zerver/tests/generate-fixtures --force
|
`dirname $0`/../tools/generate-fixtures --force
|
||||||
|
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ case "$1" in
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
cd "$(dirname "$0")"/..
|
cd "$(dirname "$0")"/..
|
||||||
./zerver/tests/generate-fixtures
|
./tools/generate-fixtures
|
||||||
# "-u" uses unbuffered IO, which is important when wrapping it in
|
# "-u" uses unbuffered IO, which is important when wrapping it in
|
||||||
# something like subprocess (as tools/review does)
|
# something like subprocess (as tools/review does)
|
||||||
/usr/bin/env python -u ./manage.py test "$target" --settings=zproject.test_settings "$@"
|
/usr/bin/env python -u ./manage.py test "$target" --settings=zproject.test_settings "$@"
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ for file in args:
|
|||||||
|
|
||||||
os.chdir(path.join(path.dirname(__file__), '../../..'))
|
os.chdir(path.join(path.dirname(__file__), '../../..'))
|
||||||
|
|
||||||
subprocess.check_call('zerver/tests/generate-fixtures')
|
subprocess.check_call('tools/generate-fixtures')
|
||||||
|
|
||||||
subprocess.check_call(['rm', '-f'] + glob.glob('/tmp/casper-failure*.png'))
|
subprocess.check_call(['rm', '-f'] + glob.glob('/tmp/casper-failure*.png'))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user