summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2017-02-25 09:37:07 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-03-10 22:30:25 (GMT)
commit3d8936153d8a962ace54a055ebdb308b09ca7c97 (patch)
tree41decacf8a261341b3d113aabcde3da04a46d413 /Makefile
parente7e07d5a4fcc2a203d9873968ad3e6bd4d7419d7 (diff)
downloadgit-3d8936153d8a962ace54a055ebdb308b09ca7c97.zip
git-3d8936153d8a962ace54a055ebdb308b09ca7c97.tar.gz
git-3d8936153d8a962ace54a055ebdb308b09ca7c97.tar.bz2
t: add an interoperability test harness
The current test suite is good at letting you test a particular version of Git. But it's not very good at letting you test _two_ versions and seeing how they interact (e.g., one cloning from the other). This commit adds a test harness that will build two arbitrary versions of git and make it easy to call them from inside your tests. See the README and the example script for details. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8e4081e..7156b05 100644
--- a/Makefile
+++ b/Makefile
@@ -2254,6 +2254,9 @@ endif
ifdef GIT_PERF_MAKE_OPTS
@echo GIT_PERF_MAKE_OPTS=\''$(subst ','\'',$(subst ','\'',$(GIT_PERF_MAKE_OPTS)))'\' >>$@+
endif
+ifdef GIT_INTEROP_MAKE_OPTS
+ @echo GIT_INTEROP_MAKE_OPTS=\''$(subst ','\'',$(subst ','\'',$(GIT_INTEROP_MAKE_OPTS)))'\' >>$@+
+endif
ifdef TEST_GIT_INDEX_VERSION
@echo TEST_GIT_INDEX_VERSION=\''$(subst ','\'',$(subst ','\'',$(TEST_GIT_INDEX_VERSION)))'\' >>$@+
endif