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 84136065b09a7f8f0fa710dcc928346f2f45d51f..f69979e39e25bd0aae3dbdf21019d040aa1fd788 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