SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
4499e6cafff114cf7cfb360706f22c4b7a54390e
Parent: f7a1d7d
Committed by GitHub <noreply@github.com> on 10/6/2023, 1:32:21 AM