From f4745600d06263e359ba94f752adeb1db257484e Mon Sep 17 00:00:00 2001 From: Josh Smith Date: Thu, 23 Aug 2018 21:10:43 +0100 Subject: setup.cfg: Show timing of the 20 slowest tests This helps identifying what tests are slow or if the CI got stuck on some of them --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 7a27a2f58..7d40c3d25 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,7 +11,7 @@ parentdir_prefix = BuildStream- test=pytest [tool:pytest] -addopts = --verbose --basetemp ./tmp --pep8 --pylint --pylint-rcfile=.pylintrc --cov=buildstream --cov-config .coveragerc +addopts = --verbose --basetemp ./tmp --pep8 --pylint --pylint-rcfile=.pylintrc --cov=buildstream --cov-config .coveragerc --durations=20 norecursedirs = tests/integration/project integration-cache tmp __pycache__ .eggs python_files = tests/*/*.py pep8maxlinelength = 119 -- cgit v1.2.1