projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f224a0
)
Only setup PGO tests when --pgo is enabled. (GH-14927)
author
Gregory P. Smith
<greg@krypto.org>
Wed, 24 Jul 2019 04:33:48 +0000
(21:33 -0700)
committer
GitHub
<noreply@github.com>
Wed, 24 Jul 2019 04:33:48 +0000
(21:33 -0700)
Lib/test/libregrtest/main.py
patch
|
blob
|
history
diff --git
a/Lib/test/libregrtest/main.py
b/Lib/test/libregrtest/main.py
index 78b6790685c9df880c32f1a6f427c016eff755e7..2b6607df15dd8e7060c7d4f6907f055337b1a1ce 100644
(file)
--- a/
Lib/test/libregrtest/main.py
+++ b/
Lib/test/libregrtest/main.py
@@
-215,8
+215,9
@@
class Regrtest:
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()