summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-09-20 01:58:34 (GMT)
committerGitHub <noreply@github.com>2023-09-20 01:58:34 (GMT)
commit81cd1bd713624c3d26b647f3d28f2fd905887a0d (patch)
tree469d676f6e250c369c2dd056342cd184b4ddef39 /Misc/NEWS.d
parent3e3a7da590e1c3e5f03802e538f26c5204889c82 (diff)
downloadcpython-81cd1bd713624c3d26b647f3d28f2fd905887a0d.zip
cpython-81cd1bd713624c3d26b647f3d28f2fd905887a0d.tar.gz
cpython-81cd1bd713624c3d26b647f3d28f2fd905887a0d.tar.bz2
gh-103053: Skip test_freeze_simple_script() on PGO build (#109591)
Skip test_freeze_simple_script() of test_tools.test_freeze if Python is built with "./configure --enable-optimizations", which means with Profile Guided Optimization (PGO): it just makes the test too slow. The freeze tool is tested by many other CIs with other (faster) compiler flags. test.pythoninfo now gets also get_build_info() of test.libregrtests.utils.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Tests/2023-09-20-02-32-17.gh-issue-103053.AoUJuK.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2023-09-20-02-32-17.gh-issue-103053.AoUJuK.rst b/Misc/NEWS.d/next/Tests/2023-09-20-02-32-17.gh-issue-103053.AoUJuK.rst
new file mode 100644
index 0000000..6d67bf2
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2023-09-20-02-32-17.gh-issue-103053.AoUJuK.rst
@@ -0,0 +1,4 @@
+Skip test_freeze_simple_script() of test_tools.test_freeze if Python is built
+with ``./configure --enable-optimizations``, which means with Profile Guided
+Optimization (PGO): it just makes the test too slow. The freeze tool is tested
+by many other CIs with other (faster) compiler flags. Patch by Victor Stinner.