projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c48dcc3
)
Makefile: Add a "make test" target.
author
Carl Worth
<cworth@cworth.org>
Thu, 15 Apr 2010 21:56:21 +0000
(14:56 -0700)
committer
Carl Worth
<cworth@cworth.org>
Thu, 15 Apr 2010 21:56:21 +0000
(14:56 -0700)
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".
Makefile.local
patch
|
blob
|
history
diff --git
a/Makefile.local
b/Makefile.local
index 4a8142f03e6c9810a5d23d046ef5cbac90c74406..fed32c071c82eee9be8039e7c68729f317d3015c 100644
(file)
--- 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