]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-103053: Skip test_freeze_simple_script() on PGO build (#109591) (#109614)
authorVictor Stinner <vstinner@python.org>
Mon, 2 Oct 2023 15:04:19 +0000 (17:04 +0200)
committerGitHub <noreply@github.com>
Mon, 2 Oct 2023 15:04:19 +0000 (17:04 +0200)
commitdc70d30732fda7e88d7c38917968f59415a3f534
tree65e5194ed9f62949f4db95e21b3c738a17643552
parent5ba9d2b98f13c509cec560cb1de8de1630463e5c
[3.12] gh-103053: Skip test_freeze_simple_script() on PGO build (#109591) (#109614)

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]