MALLOC_CHECK: Allow checking to be disabled from config.mak
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>
Sat, 6 Oct 2012 17:33:08 +0000 (18:33 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 10 Oct 2012 18:15:35 +0000 (11:15 -0700)
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>
Makefile

index 8413606..f69979e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2636,6 +2636,7 @@ bin-wrappers/%: wrap-for-bin.sh
 # with that.
 
 export NO_SVN_TESTS
+export TEST_NO_MALLOC_CHECK
 
 ### Testing rules