Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-11-10 01:06:25 +0300
committerJunio C Hamano <gitster@pobox.com>2020-11-10 01:06:25 +0300
commit65681e75c1e57cb3c575969b4703323e6bdd447f (patch)
tree9d60f123a5a14cca9d46309cc2de1dac552f63db /t
parentbf69da56c9e8adac1eee91b7a8b000363156c583 (diff)
parent5338ed2b26ebf91de246c59e525ad254dcbc7a84 (diff)
Merge branch 'jk/perl-warning'
Dev support. * jk/perl-warning: perl: check for perl warnings while running tests
Diffstat (limited to 't')
-rw-r--r--t/test-lib.sh6
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" ||