mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
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.
This commit is contained in:
parent
50b0d0b8ad
commit
7bf1f6e85a
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue