Skip to content

Commit

Permalink
WIP: Run GUI tests on separate processes
Browse files Browse the repository at this point in the history
Run our GUI tests on separate processes, because the combination of
Ubuntu Focal, Qt5, PySide6, and pytest-qt somehow leads to segfaults,
probably due to stale global state.
  • Loading branch information
apyrgio committed Jul 31, 2023
1 parent 2d3457d commit 09f866f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ lint-apply: lint-black-apply lint-isort-apply ## apply all the linter's suggesti

.PHONY: test
test:
pytest -v --cov --ignore dev_scripts
pytest --co -q tests/gui | grep -v ' collected' | xargs -n 1 pytest -v
pytest -v --cov --ignore dev_scripts --ignore tests/gui


# Makefile self-help borrowed from the securedrop-client project
Expand Down

0 comments on commit 09f866f

Please sign in to comment.