Skip to content

[3.8] bpo-37667: Only setup PGO tests when --pgo is enabled. (GH-14927) #14928

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Only setup PGO tests when --pgo is enabled. (GH-14927)
(cherry picked from commit f0807ab)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
  • Loading branch information
gpshead authored and miss-islington committed Jul 24, 2019
commit 4aa91058fd1246dc88e6e89866536fdc352f0ff8
5 changes: 3 additions & 2 deletions Lib/test/libregrtest/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,9 @@ def find_tests(self, tests):

removepy(self.tests)

# add default PGO tests if no tests are specified
setup_pgo_tests(self.ns)
if self.ns.pgo:
# add default PGO tests if no tests are specified
setup_pgo_tests(self.ns)

stdtests = STDTESTS[:]
nottests = NOTTESTS.copy()
Expand Down