diff options
author | Lars Hjemli | 2007-11-11 00:40:58 +0100 |
---|---|---|
committer | Lars Hjemli | 2007-11-11 12:00:13 +0100 |
commit | b4649fc90597910c89c3f37a6aec9af54d9f416b (patch) | |
tree | c4542a13f9509ebd92baf4f26548ddc72ac1f05f /Makefile | |
parent | ab21082c21867e035cd925a06d6d55fb3143d883 (diff) | |
download | cgit-b4649fc90597910c89c3f37a6aec9af54d9f416b.tar.gz |
Create initial testsuite
This creates a simple testsuite, heavily inspired by the testsuite in git.
Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |