diff options
author | Gregory P. Smith <greg@krypto.org> | 2016-04-15 23:46:14 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2016-04-15 23:46:14 (GMT) |
commit | 65f315e1ef89448cbafcdaadc510173b8328ce81 (patch) | |
tree | c656df4adb5b9690cafb5f2de20d26d15272aca4 /Makefile.pre.in | |
parent | 43de36d2c7a6138a47371cbe9411d3dd8026e5a4 (diff) | |
parent | ad45ab876fba9e428fcd0e2b5c8ece3d9add53af (diff) | |
download | cpython-65f315e1ef89448cbafcdaadc510173b8328ce81.zip cpython-65f315e1ef89448cbafcdaadc510173b8328ce81.tar.gz cpython-65f315e1ef89448cbafcdaadc510173b8328ce81.tar.bz2 |
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.
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 6dd1b51..2f4ca28 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -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 |