diff options
author | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | 2016-06-02 23:50:07 (GMT) |
---|---|---|
committer | Gregory P. Smith ext:(%20%5BGoogle%20Inc.%5D) <greg@krypto.org> | 2016-06-02 23:50:07 (GMT) |
commit | f9f8e18af349e132c92604f6b6e8dd2dff9217d8 (patch) | |
tree | e1915bc91d4e4fe51301978a7e38dc9f89c73ac9 | |
parent | c543a0fc3b2052c35fced09e1f96613625723508 (diff) | |
download | cpython-f9f8e18af349e132c92604f6b6e8dd2dff9217d8.zip cpython-f9f8e18af349e132c92604f6b6e8dd2dff9217d8.tar.gz cpython-f9f8e18af349e132c92604f6b6e8dd2dff9217d8.tar.bz2 |
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)
-rw-r--r-- | Makefile.pre.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index d54a098..5aeb502 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 |