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:
Alexis Métaireau 2024-06-11 17:51:01 +02:00
parent fb66946694
commit e81ecbc288
No known key found for this signature in database
GPG key ID: C65C7A89A8FFC56E

View file

@ -42,7 +42,11 @@ lint-apply: lint-black-apply lint-isort-apply ## apply all the linter's suggesti
.PHONY: test .PHONY: test
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 .PHONY: test-large-requirements