[Python-checkins] cpython: Tests: add --slowest option to buildbots

victor.stinner python-checkins at python.org
Wed Aug 17 06:25:04 EDT 2016


https://hg.python.org/cpython/rev/f12b226620e6
changeset:   102720:f12b226620e6
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Aug 17 11:27:40 2016 +0200
summary:
  Tests: add --slowest option to buildbots

Display the top 10 slowest tests.

files:
  Makefile.pre.in         |  2 +-
  Tools/buildbot/test.bat |  2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -1018,7 +1018,7 @@
 		- at if which pybuildbot.identify >/dev/null 2>&1; then \
 			pybuildbot.identify "CC='$(CC)'" "CXX='$(CXX)'"; \
 		fi
-		$(TESTRUNNER) -j 1 -u all -W --timeout=$(TESTTIMEOUT) $(TESTOPTS)
+		$(TESTRUNNER) -j 1 -u all -W --slowest --timeout=$(TESTTIMEOUT) $(TESTOPTS)
 
 QUICKTESTOPTS=	$(TESTOPTS) -x test_subprocess test_io test_lib2to3 \
 		test_multibytecodec test_urllib2_localnet test_itertools \
diff --git a/Tools/buildbot/test.bat b/Tools/buildbot/test.bat
--- a/Tools/buildbot/test.bat
+++ b/Tools/buildbot/test.bat
@@ -16,4 +16,4 @@
 if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts
 
 echo on
-call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --timeout=900 %regrtest_args%
+call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=900 %regrtest_args%

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list