Files
git-remote-hg/test/Makefile
Felipe Contreras 443a35cef5 Add testing framework
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2014-05-09 08:26:03 -05:00

20 lines
244 B
Makefile

RM ?= rm -f
T = $(wildcard ../test-*.sh)
TEST_DIRECTORY := $(CURDIR)
export TEST_DIRECTORY
all: test
test: $(T)
$(MAKE) clean
$(T):
$(SHELL) $@ $(TEST_OPTS)
clean:
$(RM) -r 'trash directory'.* test-results
.PHONY: all test $(T) clean