From bc58b78db7570d9ea755e3f43d46929b8accd86d Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Tue, 8 Oct 2024 18:36:09 +0300 Subject: [PATCH] Better way to collect tests --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f32369a..43c51b2 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,7 @@ test: # 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 --co -q tests/gui | grep -e '^tests/' | xargs -n 1 pytest -v pytest -v --cov --ignore dev_scripts --ignore tests/gui --ignore tests/test_large_set.py