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>
This commit is contained in:
Ramsay Jones 2012-10-06 18:33:08 +01:00 коммит произвёл Junio C Hamano
Родитель d64383ab14
Коммит 1266686b97
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

@ -2636,6 +2636,7 @@ bin-wrappers/%: wrap-for-bin.sh
# with that. # with that.
export NO_SVN_TESTS export NO_SVN_TESTS
export TEST_NO_MALLOC_CHECK
### Testing rules ### Testing rules