diff --git a/.ci/test_template.sh b/.ci/test_template.sh
index c3ca00d519a70e21135f6a2720ea94b328f563ad..6e42a718232edc7b22daec8fcf39cc0570fef00a 100644
--- a/.ci/test_template.sh
+++ b/.ci/test_template.sh
@@ -36,9 +36,9 @@ TEST_OPTS="--cov-report= --cov-append"
 # We run some tests under xvfb-run
 # because they invoke wx. Sleep in
 # between, otherwise xvfb gets upset.
-xvfb-run python setup.py test --addopts="$TEST_OPTS tests/test_idle.py"
+xvfb-run -a python setup.py test --addopts="$TEST_OPTS tests/test_idle.py"
 sleep 5
-xvfb-run python setup.py test --addopts="$TEST_OPTS tests/test_platform.py"
+xvfb-run -a python setup.py test --addopts="$TEST_OPTS tests/test_platform.py"
 
 # We run the immv/imcp tests as the nobody
 # user because some tests expect permission