mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Move generate-fixtures to tools/.
(imported from commit 3d452b17e315ba9adf91e33408a7711d16b069a2)
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
			
		||||
#!/bin/sh -xe
 | 
			
		||||
 | 
			
		||||
# 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
 | 
			
		||||
 | 
			
		||||
cd "$(dirname "$0")"/..
 | 
			
		||||
./zerver/tests/generate-fixtures
 | 
			
		||||
./tools/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 "$@"
 | 
			
		||||
 
 | 
			
		||||
@@ -36,7 +36,7 @@ for file in args:
 | 
			
		||||
 | 
			
		||||
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'))
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user