From: Carl Worth Date: Thu, 15 Apr 2010 21:56:21 +0000 (-0700) Subject: Makefile: Add a "make test" target. X-Git-Tag: 0.2~37 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e96f7ca585c527b9543b340f5184a6a2ea656135;p=notmuch.git Makefile: Add a "make test" target. I just wasted far too much time looking for a bug that wasn't actually there only because I hadn't recompiled before running the test suite. Now we can take advantage of actual dependency information to force a rebuild for "make test". --- diff --git a/Makefile.local b/Makefile.local index 4a8142f0..fed32c07 100644 --- a/Makefile.local +++ b/Makefile.local @@ -45,6 +45,10 @@ ifeq ($(shell cat .first-build-message),) endif endif +.PHONY: test +test: all + @./test/notmuch-test + $(TAR_FILE): git archive --format=tar --prefix=$(PACKAGE)-$(VERSION)/ HEAD > $(TAR_FILE).tmp echo $(VERSION) > version