]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-103053: Fix test_tools.test_freeze on FreeBSD (GH-110451) (#110457)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 6 Oct 2023 01:32:21 +0000 (18:32 -0700)
committerGitHub <noreply@github.com>
Fri, 6 Oct 2023 01:32:21 +0000 (01:32 +0000)
commit4499e6cafff114cf7cfb360706f22c4b7a54390e
tree8b140e6421dd1314288235eb5fcdd316a2bbeaf6
parentf7a1d7d060168f668dbc985bd978d8b009d6e300
[3.11] gh-103053: Fix test_tools.test_freeze on FreeBSD (GH-110451) (#110457)

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