]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-103053: Skip test_freeze_simple_script() on PGO build (#109591) (#109616)
authorVictor Stinner <vstinner@python.org>
Wed, 20 Sep 2023 15:45:23 +0000 (17:45 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Sep 2023 15:45:23 +0000 (15:45 +0000)
commit8c7fadb9bf86b4be0aad70a121b4d487d7729a64
tree6cb7fd14580f42fb719ef055887ffc8284ecce5d
parent336dbe56b292f26e14e70975401a3a954fcbd76b
[3.11] gh-103053: Skip test_freeze_simple_script() on PGO build (#109591) (#109616)

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.

(cherry picked from commit 81cd1bd713624c3d26b647f3d28f2fd905887a0d)
Lib/test/libregrtest/utils.py
Lib/test/pythoninfo.py
Lib/test/support/__init__.py
Lib/test/test_tools/test_freeze.py
Misc/NEWS.d/next/Tests/2023-09-20-02-32-17.gh-issue-103053.AoUJuK.rst [new file with mode: 0644]