]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-103053: Fix test_tools.test_freeze on FreeBSD (GH-110451) (#110456)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 6 Oct 2023 01:31:30 +0000 (18:31 -0700)
committerGitHub <noreply@github.com>
Fri, 6 Oct 2023 01:31:30 +0000 (01:31 +0000)
commiteed92e4f7ec9e93a74f0e46e616c65902cc2f2a8
tree83dfa6788826b83931331832eebb02297c3f80e4
parente188534607761af1f8faba483ce0b1e8578c73e5
[3.12] gh-103053: Fix test_tools.test_freeze on FreeBSD (GH-110451) (#110456)

gh-103053: Fix test_tools.test_freeze on FreeBSD (GH-110451)

Fix test_tools.test_freeze on FreeBSD: run "make distclean" instead
of "make clean" in the copied source directory to remove also the
"python" program.

Other test_freeze changes:

* Log executed commands and directories, and the current directory.
* No longer uses make -C option to change the directory, instead use
  subprocess cwd parameter.
(cherry picked from commit a4baa9e8ac62cac3ea6363b15ea585b1998ea1f9)

Co-authored-by: Victor Stinner <vstinner@python.org>
Misc/NEWS.d/next/Tests/2023-10-06-02-32-18.gh-issue-103053.VfxBLI.rst [new file with mode: 0644]
Tools/freeze/test/freeze.py