[Python-checkins] cpython (merge 3.5 -> default): Exclude super long running tests from the PROFILE_TASK for PGO
gregory.p.smith
python-checkins at python.org
Fri Apr 15 19:51:12 EDT 2016
https://hg.python.org/cpython/rev/dd071094591a
changeset: 100995:dd071094591a
parent: 100991:b3e3efc5afa4
parent: 100994:51e6894936f5
user: Gregory P. Smith <greg at krypto.org>
date: Fri Apr 15 16:46:14 2016 -0700
summary:
Exclude super long running tests from the PROFILE_TASK for PGO
builds. multiprocessing and subprocess tests in particular
along with test_asyncore and test_gdb. Running them does not
meaningfully add to the profile guidance.
files:
Makefile.pre.in | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -230,8 +230,10 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list