]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-103053: Skip test_freeze_simple_script() on PGO build (#109591)
authorVictor Stinner <vstinner@python.org>
Wed, 20 Sep 2023 01:58:34 +0000 (03:58 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Sep 2023 01:58:34 +0000 (01:58 +0000)
commit81cd1bd713624c3d26b647f3d28f2fd905887a0d
tree469d676f6e250c369c2dd056342cd184b4ddef39
parent3e3a7da590e1c3e5f03802e538f26c5204889c82
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.
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]