summaryrefslogtreecommitdiff
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:42:40 +0100
commit725878209a3c2ffe5b45976361af87f7a53f6bda (patch)
treef107023c641d40f61e22e5c3527f2f1139dbb9a1
parenta201f9a9626a0028d137874717a9e816538c1cbc (diff)
downloadbuildstream-725878209a3c2ffe5b45976361af87f7a53f6bda.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
-rw-r--r--setup.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.cfg b/setup.cfg
index 173917c74..159c665c3 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 = integration-cache tmp __pycache__ .eggs
python_files = tests/*/*.py
pep8maxlinelength = 119