]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-103053: Fix test_tools.test_freeze on FreeBSD (#110451)
authorVictor Stinner <vstinner@python.org>
Fri, 6 Oct 2023 01:08:34 +0000 (03:08 +0200)
committerGitHub <noreply@github.com>
Fri, 6 Oct 2023 01:08:34 +0000 (03:08 +0200)
commita4baa9e8ac62cac3ea6363b15ea585b1998ea1f9
treece42c9746810873362ed236ba7d90ee58014c0fd
parenta155f9f3427578ca5706d27e20bd0576f0395073
gh-103053: Fix test_tools.test_freeze on FreeBSD (#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.
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