mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 20:13:46 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			360 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			360 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash -e
 | |
| 
 | |
| target='zerver'
 | |
| 
 | |
| case "$1" in
 | |
|     zerver*)
 | |
|       target="$1"
 | |
|       shift
 | |
|       ;;
 | |
| esac
 | |
| 
 | |
| cd "$(dirname "$0")"/..
 | |
| ./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 "$@"
 |