summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorThomas Rast <trast@student.ethz.ch>2011-08-30 00:47:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-08-30 19:27:01 (GMT)
commitee0d7bf92507f7c968736a490813e8d9cd7792b1 (patch)
treee9dfe82f7b9855f09037a4e63486fac03ca88f28 /t/test-lib.sh
parent3f1c70f717da3c9ec6ae3744593c7f9f3729aad7 (diff)
downloadgit-ee0d7bf92507f7c968736a490813e8d9cd7792b1.zip
git-ee0d7bf92507f7c968736a490813e8d9cd7792b1.tar.gz
git-ee0d7bf92507f7c968736a490813e8d9cd7792b1.tar.bz2
Symlink mergetools scriptlets into valgrind wrappers
Since bc7a96a (mergetool--lib: Refactor tools into separate files, 2011-08-18) the mergetools and difftools related tests fail under --valgrind because the mergetools/* scriptlets are not in the exec path. For now, symlink the mergetools subdir into the t/valgrind/bin directory as a whole, since it does not contain anything of interest to the valgrind wrappers. Signed-off-by: Thomas Rast <trast@student.ethz.ch> Acked-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index e274222..c210c17 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -932,6 +932,8 @@ then
do
make_valgrind_symlink $file
done
+ # special-case the mergetools loadables
+ make_symlink "$GIT_BUILD_DIR"/mergetools "$GIT_VALGRIND/bin/mergetools"
OLDIFS=$IFS
IFS=:
for path in $PATH