about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-11-11 13:17:13 +0100
committerLars Hjemli <hjemli@gmail.com>2007-11-11 13:17:13 +0100
commita7cf406c802394460cb14c79f3f43582d1428a45 (patch)
tree71f3069c782698ae2972459258d551055f502c4f /Makefile
parentMerge branch 'stable' (diff)
parentSet commit date on snapshot contents (diff)
downloadcgit-pink-a7cf406c802394460cb14c79f3f43582d1428a45.tar.gz
cgit-pink-a7cf406c802394460cb14c79f3f43582d1428a45.zip
Merge branch 'lh/testsuite'
* lh/testsuite:
  Set commit date on snapshot contents
  Fix html error detected by test-suite
  Create initial testsuite
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 685e662..72c189c 100644
--- a/Makefile
+++ b/Makefile
@@ -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)