From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Date: Mon, 29 Jul 2019 01:20:02 +0000 (-0700)
Subject: bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and sqlite coverage... 
X-Git-Tag: v3.8.0b3~1
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=36fd7b6f01127bc6a8b4a37a363e0aa9cfd76506;p=python

bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and sqlite coverage (GH-14985)


https://bugs.python.org/issue36044

Automerge-Triggered-By: @zooba
(cherry picked from commit e1b900247227dad49d8231f1d028872412230ab4)

Co-authored-by: Steve Dower <steve.dower@python.org>
---

diff --git a/Lib/test/libregrtest/pgo.py b/Lib/test/libregrtest/pgo.py
index 327f19374c..379ff05fb9 100644
--- a/Lib/test/libregrtest/pgo.py
+++ b/Lib/test/libregrtest/pgo.py
@@ -10,6 +10,7 @@ PGO_TESTS = [
     'test_binop',
     'test_bisect',
     'test_bytes',
+    'test_bz2',
     'test_cmath',
     'test_codecs',
     'test_collections',
@@ -29,6 +30,7 @@ PGO_TESTS = [
     'test_itertools',
     'test_json',
     'test_long',
+    'test_lzma',
     'test_math',
     'test_memoryview',
     'test_operator',
@@ -37,6 +39,7 @@ PGO_TESTS = [
     'test_pprint',
     'test_re',
     'test_set',
+    'test_sqlite',
     'test_statistics',
     'test_struct',
     'test_tabnanny',
diff --git a/PCbuild/_msi.vcxproj b/PCbuild/_msi.vcxproj
index 9f089ac7f5..720eb2931b 100644
--- a/PCbuild/_msi.vcxproj
+++ b/PCbuild/_msi.vcxproj
@@ -70,6 +70,7 @@
     <ProjectGuid>{31FFC478-7B4A-43E8-9954-8D03E2187E9C}</ProjectGuid>
     <RootNamespace>_msi</RootNamespace>
     <Keyword>Win32Proj</Keyword>
+    <SupportPGO>false</SupportPGO>
   </PropertyGroup>
   <Import Project="python.props" />
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
diff --git a/PCbuild/winsound.vcxproj b/PCbuild/winsound.vcxproj
index 56da96a855..32cedc9b44 100644
--- a/PCbuild/winsound.vcxproj
+++ b/PCbuild/winsound.vcxproj
@@ -70,6 +70,7 @@
     <ProjectGuid>{28B5D777-DDF2-4B6B-B34F-31D938813856}</ProjectGuid>
     <RootNamespace>winsound</RootNamespace>
     <Keyword>Win32Proj</Keyword>
+    <SupportPGO>false</SupportPGO>
   </PropertyGroup>
   <Import Project="python.props" />
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />