diff options
author | David Bremner <bremner@debian.org> | 2011-12-03 14:05:08 -0800 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2011-12-06 09:37:44 -0400 |
commit | 7bf1f6e85a1af283c62fcf5f305b762e20706a42 (patch) | |
tree | 8935a2a316be9edcd7429b8802d9f0284ed7f3bb /test | |
parent | 50b0d0b8ade8aca7dd8434f638555c634b00ebe4 (diff) |
test: add test-binaries target
The goal here is to have a simple way of making sure all of the
binaries needed to run tests are available.
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.local | 5 | ||||
-rw-r--r-- | test/README | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/test/Makefile.local b/test/Makefile.local index 646779e1..bffbbdbd 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 2481f16d..2e757e0e 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: |