mirror of https://github.com/zulip/zulip.git
Add --force to `tools/run-dev.py` when run `run-casper` with --force
Add `--force` option to `tools/run-dev.py` when run `frontend_tests/run-casper` with `--force` option.
This commit is contained in:
parent
0c9eccfa58
commit
e1ac6fbece
|
@ -123,7 +123,10 @@ def run_tests(realms_have_subdomains, files):
|
|||
remote_debug = "--remote-debugger-port=7777 --remote-debugger-autorun=yes"
|
||||
|
||||
# Run this not through the shell, so that we have the actual PID.
|
||||
server = subprocess.Popen(('tools/run-dev.py', '--test'),
|
||||
run_dev_server_command = ['tools/run-dev.py', '--test']
|
||||
if options.force:
|
||||
run_dev_server_command.append('--force')
|
||||
server = subprocess.Popen(run_dev_server_command,
|
||||
stdout=log, stderr=log)
|
||||
|
||||
ret = 1
|
||||
|
|
Loading…
Reference in New Issue