From 4faaa5a19a5fb2ab1d7f9d3be014736dcd1d3f54 Mon Sep 17 00:00:00 2001 From: hagrid67 <jdhwatson@gmail.com> Date: Sun, 19 May 2019 14:11:39 +0100 Subject: [PATCH] adding -a option to xvfb-run, and putting xvfb-run in envlist - which is like a whitelist for commands, I think. --- Makefile | 2 +- tox.ini | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index e107ec0a..42a8a430 100644 --- a/Makefile +++ b/Makefile @@ -61,7 +61,7 @@ test-all: ## run tests on every Python version with tox tox coverage: ## check code coverage quickly with the default Python - xvfb-run coverage run --source flatland -m pytest + xvfb-run -a coverage run --source flatland -m pytest coverage report -m coverage html $(BROWSER) htmlcov/index.html diff --git a/tox.ini b/tox.ini index 768d58db..5a677e76 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py36, py37, flake8, docs, coverage +envlist = py36, py37, flake8, docs, coverage, xvfb-run, sh [travis] python = @@ -36,6 +36,6 @@ deps = commands = pip install -U pip sh -c 'echo DISPLAY: $DISPLAY' - xvfb-run py.test --basetemp={envtmpdir} + xvfb-run -a py.test --basetemp={envtmpdir} -- GitLab