summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-07-25 14:13:42 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-07-25 14:13:42 -0700
commitae9ca20c85569baa8af20c8b681fe7d80ebec23d (patch)
tree829247c0f1b1c6f6c0036acbb054e3edd649a17e
parentMerge branch 'jc/doc-diff-filter-exclude' (diff)
parentt/test-lib.sh: fix running tests with --valgrind (diff)
downloadtgif-ae9ca20c85569baa8af20c8b681fe7d80ebec23d.tar.xz
Merge branch 'nd/test-helpers'
Build clean-up. * nd/test-helpers: t/test-lib.sh: fix running tests with --valgrind Makefile: use VCSSVN_LIB to refer to svn library Makefile: drop extra dependencies for test helpers
-rw-r--r--Makefile12
-rw-r--r--t/test-lib.sh2
2 files changed, 3 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 1978cb8d40..6a13386c27 100644
--- a/Makefile
+++ b/Makefile
@@ -2245,17 +2245,9 @@ perf: all
.PHONY: test perf
-t/helper/test-ctype$X: ctype.o
+t/helper/test-line-buffer$X: $(VCSSVN_LIB)
-t/helper/test-date$X: date.o ctype.o
-
-t/helper/test-delta$X: diff-delta.o patch-delta.o
-
-t/helper/test-line-buffer$X: vcs-svn/lib.a
-
-t/helper/test-parse-options$X: parse-options.o parse-options-cb.o
-
-t/helper/test-svn-fe$X: vcs-svn/lib.a
+t/helper/test-svn-fe$X: $(VCSSVN_LIB)
.PRECIOUS: $(TEST_OBJS)
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 11201e9cf8..3f8b98b2c5 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -798,7 +798,7 @@ then
# override all git executables in TEST_DIRECTORY/..
GIT_VALGRIND=$TEST_DIRECTORY/valgrind
mkdir -p "$GIT_VALGRIND"/bin
- for file in $GIT_BUILD_DIR/git* $GIT_BUILD_DIR/test-*
+ for file in $GIT_BUILD_DIR/git* $GIT_BUILD_DIR/t/helper/test-*
do
make_valgrind_symlink $file
done