Only setup PGO tests when --pgo is enabled. (GH-14927)
This commit is contained in:
parent
2f224a077a
commit
f0807ab24c
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue