Skip to content

Commit f745700

Browse files
committed
Tests: add --slowest option to buildbots
Display the top 10 slowest tests.
1 parent 6c44619 commit f745700

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ buildbottest: all platform
10181018
-@if which pybuildbot.identify >/dev/null 2>&1; then \
10191019
pybuildbot.identify "CC='$(CC)'" "CXX='$(CXX)'"; \
10201020
fi
1021-
$(TESTRUNNER) -j 1 -u all -W --timeout=$(TESTTIMEOUT) $(TESTOPTS)
1021+
$(TESTRUNNER) -j 1 -u all -W --slowest --timeout=$(TESTTIMEOUT) $(TESTOPTS)
10221022

10231023
QUICKTESTOPTS= $(TESTOPTS) -x test_subprocess test_io test_lib2to3 \
10241024
test_multibytecodec test_urllib2_localnet test_itertools \

Tools/buildbot/test.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ if "%1"=="+q" (set rt_opts=%rt_opts:-q=%) & shift & goto CheckOpts
1616
if NOT "%1"=="" (set regrtest_args=%regrtest_args% %1) & shift & goto CheckOpts
1717

1818
echo on
19-
call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --timeout=900 %regrtest_args%
19+
call "%here%..\..\PCbuild\rt.bat" %rt_opts% -uall -rwW --slowest --timeout=900 %regrtest_args%

0 commit comments

Comments
 (0)