Skip to content

Commit

Permalink
MALLOC_CHECK: Allow checking to be disabled from config.mak
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ramsay Jones authored and Junio C Hamano committed Oct 10, 2012
1 parent d64383a commit 1266686
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2636,6 +2636,7 @@ bin-wrappers/%: wrap-for-bin.sh
# with that.

export NO_SVN_TESTS
export TEST_NO_MALLOC_CHECK

### Testing rules

Expand Down

0 comments on commit 1266686

Please sign in to comment.