Create initial testsuite

This creates a simple testsuite, heavily inspired by the testsuite in git.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli
2007-11-11 00:40:58 +01:00
parent ab21082c21
commit b4649fc905
12 changed files with 299 additions and 1 deletions

View File

@ -24,7 +24,7 @@ ifdef NEEDS_LIBICONV
endif
.PHONY: all git install clean distclean emptycache force-version get-git
.PHONY: all git test install clean distclean emptycache force-version get-git
all: cgit git
@ -54,6 +54,9 @@ git:
cd git && $(MAKE) xdiff/lib.a
cd git && $(MAKE) libgit.a
test: all
$(MAKE) -C tests
install: all
mkdir -p $(DESTDIR)$(CGIT_SCRIPT_PATH)
install cgit $(DESTDIR)$(CGIT_SCRIPT_PATH)/$(CGIT_SCRIPT_NAME)