]> granicus.if.org Git - python/commitdiff
Tests: add --slowest option to buildbots
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 17 Aug 2016 09:27:40 +0000 (11:27 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Wed, 17 Aug 2016 09:27:40 +0000 (11:27 +0200)
Display the top 10 slowest tests.

Makefile.pre.in
Tools/buildbot/test.bat

index 582775d9ffd1b55805c77b11b1eede81595138c4..643424c61e50d08a4eb7b34c93e151b143084cb0 100644 (file)
@@ -1018,7 +1018,7 @@ buildbottest:     all platform
                -@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 \
index 5972d5e0880817a5e04abec3c90ddf6c32495a05..7bc4de502fc3e94b27fdb7f98f02d24b01749327 100644 (file)
@@ -16,4 +16,4 @@ if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts
 if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts\r
 \r
 echo on\r
-call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --timeout=900 %regrtest_args%\r
+call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=900 %regrtest_args%\r