mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 09:52:37 +02:00
Revert "tests: run all the tests with one command"
This reverts commit 3ba9181888
, and
reintroduces the pytest runs as separate processes.
This commit is contained in:
parent
fb66946694
commit
e81ecbc288
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -42,7 +42,11 @@ lint-apply: lint-black-apply lint-isort-apply ## apply all the linter's suggesti
|
|||
|
||||
.PHONY: test
|
||||
test:
|
||||
pytest -v --cov --ignore dev_scripts --ignore tests/test_large_set.py
|
||||
# Make each GUI test run as a separate process, to avoid segfaults due to
|
||||
# shared state.
|
||||
# See more in https://github.com/freedomofpress/dangerzone/issues/493
|
||||
pytest --co -q tests/gui | grep -v ' collected' | xargs -n 1 pytest -v
|
||||
pytest -v --cov --ignore dev_scripts --ignore tests/gui --ignore tests/test_large_set.py
|
||||
|
||||
|
||||
.PHONY: test-large-requirements
|
||||
|
|
Loading…
Reference in a new issue