commit | f0807ab24cbd13163bff7e0de3a97fe83584b80d | [log] [tgz] |
---|---|---|
author | Gregory P. Smith <greg@krypto.org> | Tue Jul 23 21:33:48 2019 -0700 |
committer | GitHub <noreply@github.com> | Tue Jul 23 21:33:48 2019 -0700 |
tree | 2238a600d8d97be9f1149b158da39db7bc799463 | |
parent | 2f224a077a83ac9de8a12bb7dcc516642b8176d8 [diff] [blame] |
Only setup PGO tests when --pgo is enabled. (GH-14927)
diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py index 78b6790..2b6607d 100644 --- a/Lib/test/libregrtest/main.py +++ b/Lib/test/libregrtest/main.py
@@ -215,8 +215,9 @@ 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()