* [PATCH] test: add test-binaries target
@ 2011-12-04 15:58 David Bremner
2011-12-06 13:32 ` David Bremner
0 siblings, 1 reply; 2+ messages in thread
From: David Bremner @ 2011-12-04 15:58 UTC (permalink / raw)
To: notmuch; +Cc: David Bremner
From: David Bremner <bremner@debian.org>
The goal here is to have a simple way of making sure all of the
binaries needed to run tests are available.
---
test/Makefile.local | 5 ++++-
test/README | 3 ++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/test/Makefile.local b/test/Makefile.local
index 646779e..bffbbdb 100644
--- a/test/Makefile.local
+++ b/test/Makefile.local
@@ -15,7 +15,10 @@ $(dir)/symbol-test: $(dir)/symbol-test.o
$(call quiet,CC) $^ -o $@ -Llib -lnotmuch -lxapian
.PHONY: test check
-test: all $(dir)/smtp-dummy $(dir)/symbol-test
+
+test-binaries: $(dir)/smtp-dummy $(dir)/symbol-test
+
+test: all test-binaries
@${dir}/notmuch-test $(OPTIONS)
check: test
diff --git a/test/README b/test/README
index 2481f16..2e757e0 100644
--- a/test/README
+++ b/test/README
@@ -13,7 +13,8 @@ notmuch-test script). Either command will run all available tests.
Alternately, you can run a specific subset of tests by simply invoking
one of the executable scripts in this directory, (such as ./search,
-./reply, etc.)
+./reply, etc). Note that you will probably want "make test-binaries"
+before running individual tests.
The following command-line options are available when running tests:
--
1.7.7.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] test: add test-binaries target
2011-12-04 15:58 [PATCH] test: add test-binaries target David Bremner
@ 2011-12-06 13:32 ` David Bremner
0 siblings, 0 replies; 2+ messages in thread
From: David Bremner @ 2011-12-06 13:32 UTC (permalink / raw)
To: notmuch
On Sun, 4 Dec 2011 11:58:49 -0400, David Bremner <david@tethera.net> wrote:
> From: David Bremner <bremner@debian.org>
>
> The goal here is to have a simple way of making sure all of the
> binaries needed to run tests are available.
Pushed to master
d
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-12-06 13:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-04 15:58 [PATCH] test: add test-binaries target David Bremner
2011-12-06 13:32 ` David Bremner
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).