summaryrefslogtreecommitdiffstats
path: root/Lib/test/libregrtest
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-07 02:38:15 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-09-07 02:38:15 (GMT)
commit22d0698d3b034f4f4314aa793da7225a5da640ba (patch)
treef37ff8f491d40b22f8828d7f7a6c1912df6ff869 /Lib/test/libregrtest
parenta571120410bf7a92ca612068cf1a754d5dca614e (diff)
downloadcpython-22d0698d3b034f4f4314aa793da7225a5da640ba.zip
cpython-22d0698d3b034f4f4314aa793da7225a5da640ba.tar.gz
cpython-22d0698d3b034f4f4314aa793da7225a5da640ba.tar.bz2
Adds test.support.PGO and skips tests that are not useful for PGO.
Diffstat (limited to 'Lib/test/libregrtest')
-rw-r--r--Lib/test/libregrtest/main.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/libregrtest/main.py b/Lib/test/libregrtest/main.py
index ba9e48b..dbbf72f 100644
--- a/Lib/test/libregrtest/main.py
+++ b/Lib/test/libregrtest/main.py
@@ -473,6 +473,8 @@ class Regrtest:
if self.ns.wait:
input("Press any key to continue...")
+ support.PGO = self.ns.pgo
+
setup_tests(self.ns)
self.find_tests(tests)