summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorJosh Smith <joshsmith@codethink.co.uk>2018-08-23 21:10:43 +0100
committerJavier Jardón <jjardon@gnome.org>2018-08-24 13:20:05 +0100
commitf4745600d06263e359ba94f752adeb1db257484e (patch)
treebde74ac3b84bd02e556acf72c2cb2fd20befdaac /setup.cfg
parent2c3a6ab8ad478314154716a2b1918ce1b867cc49 (diff)
downloadbuildstream-f4745600d06263e359ba94f752adeb1db257484e.tar.gz
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
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg2
1 files changed, 1 insertions, 1 deletions
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