From: Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) Date: Thu, 2 Jun 2016 23:50:07 +0000 (+0000) Subject: Exclude unittests from the make profile-opt training run that either X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9f8e18af349e132c92604f6b6e8dd2dff9217d8;p=python 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) --- diff --git a/Makefile.pre.in b/Makefile.pre.in index d54a098341..5aeb5027a1 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -210,7 +210,9 @@ 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 +# 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