[Python-checkins] cpython (2.7): Exclude unittests from the make profile-opt training run that either

gregory.p.smith python-checkins at python.org
Thu Jun 2 19:50:14 EDT 2016


https://hg.python.org/cpython/rev/70ed9af54aab
changeset:   101627:70ed9af54aab
branch:      2.7
user:        Gregory P. Smith <greg at krypto.org> [Google Inc.]
date:        Thu Jun 02 23:50:07 2016 +0000
summary:
  Exclude unittests from the make profile-opt training run that either
take a rediculious amount of time to run, fail or provide little use
to the profile feedback.  (similar to what is already done in 3.5 and
by major Linux distro builds own profiling runs)

files:
  Makefile.pre.in |  4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/Makefile.pre.in b/Makefile.pre.in
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -210,7 +210,9 @@
 TCLTK_LIBS=	@TCLTK_LIBS@
 
 # The task to run while instrument when building the profile-opt target
-PROFILE_TASK=-m test.regrtest --pgo
+# 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 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