summaryrefslogtreecommitdiff
path: root/contrib/remote-helpers/Makefile
diff options
context:
space:
mode:
authorLibravatar Felipe Contreras <felipe.contreras@gmail.com>2012-11-04 03:13:32 +0100
committerLibravatar Jeff King <peff@peff.net>2012-11-04 08:35:20 -0500
commit7ee719e18074a47e41dd315fcf8ced777a71adbd (patch)
treea984e64178f48426afd0c2ea5bcf8346371813da /contrib/remote-helpers/Makefile
parentremote-hg: fake bookmark when there's none (diff)
downloadtgif-7ee719e18074a47e41dd315fcf8ced777a71adbd.tar.xz
remote-hg: add basic tests
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com> Signed-off-by: Jeff King <peff@peff.net>
Diffstat (limited to 'contrib/remote-helpers/Makefile')
-rw-r--r--contrib/remote-helpers/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/contrib/remote-helpers/Makefile b/contrib/remote-helpers/Makefile
new file mode 100644
index 0000000000..9a76575f78
--- /dev/null
+++ b/contrib/remote-helpers/Makefile
@@ -0,0 +1,13 @@
+TESTS := $(wildcard test*.sh)
+
+export T := $(addprefix $(CURDIR)/,$(TESTS))
+export MAKE := $(MAKE) -e
+export PATH := $(CURDIR):$(PATH)
+
+test:
+ $(MAKE) -C ../../t $@
+
+$(TESTS):
+ $(MAKE) -C ../../t $(CURDIR)/$@
+
+.PHONY: $(TESTS)