mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-27 23:07:14 -05:00
One script to run all tests
This commit is contained in:
parent
aa7919abfd
commit
2ffcdbb108
14
dev_scripts/run_all_tests.sh
Executable file
14
dev_scripts/run_all_tests.sh
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
ROOT="$( dirname $(cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd ))"
|
||||||
|
|
||||||
|
# CLI tests
|
||||||
|
cd $ROOT
|
||||||
|
pytest tests/
|
||||||
|
|
||||||
|
# Local GUI tests
|
||||||
|
cd $ROOT/tests_gui_local
|
||||||
|
./run_unit_tests.sh
|
||||||
|
|
||||||
|
# Tor GUI tests
|
||||||
|
cd $ROOT/tests_gui_tor
|
||||||
|
./run_unit_tests.sh
|
Loading…
x
Reference in New Issue
Block a user