MALLOC_CHECK: Allow checking to be disabled from config.mak

The malloc checks can be disabled using the TEST_NO_MALLOC_CHECK variable, either from the environment or command line of an 'make test' invocation. In order to allow the malloc checks to be disabled from the 'config.mak' file, we add TEST_NO_MALLOC_CHECK to the environment using an export directive. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ramsay Jones committed Oct 6, 2012 at 18:33 UTC 1266686b97d9c1783b89911a938bf992d8292bc6
1 file changed +1
Makefile
+1
@@ -2636,6 +2636,7 @@ bin-wrappers/%: wrap-for-bin.sh
2636 # with that.
2637
2638 export NO_SVN_TESTS
2639 +export TEST_NO_MALLOC_CHECK
2640
2641 ### Testing rules
2642