]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Exclude super long running tests from the PROFILE_TASK for PGO
authorGregory P. Smith <greg@krypto.org>
Fri, 15 Apr 2016 23:45:43 +0000 (16:45 -0700)
committerGregory P. Smith <greg@krypto.org>
Fri, 15 Apr 2016 23:45:43 +0000 (16:45 -0700)
builds.  multiprocessing and subprocess tests in particular
along with test_asyncore and test_gdb.  Running them does not
meaningfully add to the profile guidance.

Makefile.pre.in

index fc2d7095c84ab9cc51fec1b2f15178a582a2e487..cfa6a5f4ef5a912df431ecc4d3b484c3ef56c7ca 100644 (file)
@@ -230,8 +230,10 @@ HOST_GNU_TYPE=     @host@
 TCLTK_INCLUDES=        @TCLTK_INCLUDES@
 TCLTK_LIBS=    @TCLTK_LIBS@
 
-# The task to run while instrument when building the profile-opt target
-PROFILE_TASK=-m test.regrtest --pgo
+# The task to run while instrumented when building the profile-opt target.
+# We exclude unittests with -x that take a rediculious amount of time to
+# run in the instrumented training build or do not provide much value.
+PROFILE_TASK=-m test.regrtest --pgo -x test_asyncore test_gdb test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_main_handling test_multiprocessing_spawn test_subprocess
 
 # report files for gcov / lcov coverage report
 COVERAGE_INFO= $(abs_builddir)/coverage.info