SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
eed92e4f7ec9e93a74f0e46e616c65902cc2f2a8
Parent: e188534
Committed by GitHub <noreply@github.com> on 10/6/2023, 1:31:30 AM