aboutsummaryrefslogtreecommitdiffstats
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-05-23 14:39:54 -0700
committerJunio C Hamano <gitster@pobox.com>2022-05-23 14:39:54 -0700
commit1b8138fb0880e399dcb6fcc6b6d4081c1a1db40e (patch)
treeea4841ac780e199292b086cb8d1322f2b5bbc6be /t/test-lib.sh
parentea78f9ee7a595d9e85195c0802d9170fe4ce442e (diff)
parent7c898554d7a80e5d70ee8816a23dc425d2f1729c (diff)
downloadgit-1b8138fb0880e399dcb6fcc6b6d4081c1a1db40e.tar.gz
Merge branch 'ab/valgrind-fixes'
A bit of test framework fixes with a few fixes to issues found by valgrind. * ab/valgrind-fixes: commit-graph.c: don't assume that stat() succeeds object-file: fix a unpack_loose_header() regression in 3b6a8db3b03 log test: skip a failing mkstemp() test under valgrind tests: using custom GIT_EXEC_PATH breaks --valgrind tests
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index f09e8f3efc..8ba5ca1534 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1667,6 +1667,7 @@ test -n "$USE_LIBPCRE2" && test_set_prereq PCRE
test -n "$USE_LIBPCRE2" && test_set_prereq LIBPCRE2
test -z "$NO_GETTEXT" && test_set_prereq GETTEXT
test -n "$SANITIZE_LEAK" && test_set_prereq SANITIZE_LEAK
+test -n "$GIT_VALGRIND_ENABLED" && test_set_prereq VALGRIND
if test -z "$GIT_TEST_CHECK_CACHE_TREE"
then