mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-02-24 16:49:56 -05:00
20 lines
574 B
Bash
Executable File
20 lines
574 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# any arguments are passed on to py.test
|
|
# so for example to run only "test_obey_robots" you could run
|
|
# ./run-tests.sh -k test_obey_robots
|
|
#
|
|
|
|
cd $(dirname "${BASH_SOURCE[0]}")
|
|
|
|
echo service status:
|
|
vagrant ssh -- 'status warcprox ;
|
|
status Xvnc ;
|
|
status brozzler-worker ;
|
|
status brozzler-dashboard ;
|
|
status vnc-websock'
|
|
echo
|
|
|
|
vagrant ssh -- 'source /opt/brozzler-ve34/bin/activate && pip install pytest'
|
|
vagrant ssh -- "source /opt/brozzler-ve34/bin/activate && py.test -v -s /brozzler/tests $@"
|