From: Junio C Hamano Date: Fri, 5 Jan 2018 21:28:09 +0000 (-0800) Subject: Merge branch 'jk/test-suite-tracing' X-Git-Tag: v2.16.0-rc1~9 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/07b747d32467a34768f6a95571266d98ad22b1dc Merge branch 'jk/test-suite-tracing' Assorted fixes around running tests with "-x" tracing option. * jk/test-suite-tracing: t/Makefile: introduce TEST_SHELL_PATH test-lib: make "-x" work with "--verbose-log" t5615: avoid re-using descriptor 4 test-lib: silence "-x" cleanup under bash --- 07b747d32467a34768f6a95571266d98ad22b1dc diff --cc Makefile index 2a81ae22e9,ed96453b5c..bb5b7cdfb6 --- a/Makefile +++ b/Makefile @@@ -426,8 -426,9 +426,12 @@@ all: # to say "export LESS=FRX (and LV=-c) if the environment variable # LESS (and LV) is not set, respectively". # + # Define TEST_SHELL_PATH if you want to use a shell besides SHELL_PATH for + # running the test scripts (e.g., bash has better support for "set -x" + # tracing). ++# +# When cross-compiling, define HOST_CPU as the canonical name of the CPU on +# which the built Git will run (for instance "x86_64"). GIT-VERSION-FILE: FORCE @$(SHELL_PATH) ./GIT-VERSION-GEN