diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-11-10 01:06:25 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-11-10 01:06:25 +0300 |
commit | 65681e75c1e57cb3c575969b4703323e6bdd447f (patch) | |
tree | 9d60f123a5a14cca9d46309cc2de1dac552f63db /t/test-lib.sh | |
parent | bf69da56c9e8adac1eee91b7a8b000363156c583 (diff) | |
parent | 5338ed2b26ebf91de246c59e525ad254dcbc7a84 (diff) |
Merge branch 'jk/perl-warning'
Dev support.
* jk/perl-warning:
perl: check for perl warnings while running tests
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 6bc0a30d38..fa347ed3e1 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -499,6 +499,12 @@ then export GIT_INDEX_VERSION fi +if test -n "$GIT_TEST_PERL_FATAL_WARNINGS" +then + GIT_PERL_FATAL_WARNINGS=1 + export GIT_PERL_FATAL_WARNINGS +fi + # Add libc MALLOC and MALLOC_PERTURB test # only if we are not executing the test with valgrind if test -n "$valgrind" || |