summaryrefslogtreecommitdiff
path: root/desktop/tests/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/tests/run.sh')
-rwxr-xr-xdesktop/tests/run.sh29
1 files changed, 4 insertions, 25 deletions
diff --git a/desktop/tests/run.sh b/desktop/tests/run.sh
index 184dfc16..a621efd1 100755
--- a/desktop/tests/run.sh
+++ b/desktop/tests/run.sh
@@ -1,26 +1,5 @@
#!/bin/bash
-
-# The script runs python tests
-# Firstly, all CLI tests are run
-# Then, all the GUI tests are run individually
-# to avoid segmentation fault
-
-PARAMS=""
-
-while [ ! $# -eq 0 ]
-do
- case "$1" in
- --rungui)
- PARAMS="$PARAMS --rungui"
- ;;
- --runtor)
- PARAMS="$PARAMS --runtor"
- ;;
- esac
- shift
-done
-
-pytest $PARAMS -vvv ./tests/test_cli*.py || exit 1
-for filename in ./tests/test_gui_*.py; do
- pytest $PARAMS -vvv --no-qt-log $filename || exit 1
-done
+pytest -vvv --no-qt-log tests/test_gui_tabs.py
+pytest -vvv --no-qt-log tests/test_gui_share.py
+pytest -vvv --no-qt-log tests/test_gui_receive.py
+pytest -vvv --no-qt-log tests/test_gui_website.py