aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-07-25 14:13:42 -0700
committerJunio C Hamano <gitster@pobox.com>2016-07-25 14:13:42 -0700
commitae9ca20c85569baa8af20c8b681fe7d80ebec23d (patch)
tree829247c0f1b1c6f6c0036acbb054e3edd649a17e
parentc3531e03856972b698df61c983a3375892220d51 (diff)
parent503e22418082d1ec616ec98ab90c6a73cd3ef96f (diff)
downloadgit-ae9ca20c85569baa8af20c8b681fe7d80ebec23d.tar.gz
git-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 1978cb8d4..6a13386c2 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 11201e9cf..3f8b98b2c 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