зеркало из https://github.com/microsoft/git.git
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
This commit is contained in:
Коммит
ae9ca20c85
12
Makefile
12
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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче