diff options
author | René Scharfe <l.s.r@web.de> | 2016-10-28 00:14:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-10-27 23:33:53 -0700 |
commit | 28fab7b23d0f9f15745c99baf25ec49e38594aa5 (patch) | |
tree | c8c40964bad085370e60970ba065f8a4845c83f7 /builtin/commit.c | |
parent | t/test-lib.sh: fix running tests with --valgrind (diff) | |
download | tgif-28fab7b23d0f9f15745c99baf25ec49e38594aa5.tar.xz |
valgrind: support test helpers
Tests run with --valgrind call git commands through a wrapper script
that invokes valgrind on them. This script (valgrind.sh) is in turn
invoked through symlinks created for each command in t/valgrind/bin/.
Since e6e7530d (test helpers: move test-* to t/helper/ subdirectory)
these symlinks have been broken for test helpers -- they point to the
old locations in the root of the build directory. Fix that by teaching
the code for creating the links about the new location of the binaries,
and do the same in the wrapper script to allow it to find its payload.
Signed-off-by: Rene Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions