mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-28 05:34:11 +01:00
build: use NOTMUCH_SRCDIR for referencing notmuch-test
Don't assume the tests are always run from within the source tree.
This commit is contained in:
parent
1c2152ce73
commit
0dd58ea7e7
1 changed files with 3 additions and 3 deletions
|
@ -62,13 +62,13 @@ test-binaries: $(TEST_BINARIES)
|
||||||
test: all test-binaries
|
test: all test-binaries
|
||||||
ifeq ($V,)
|
ifeq ($V,)
|
||||||
@echo 'Use "$(MAKE) V=1" to see the details for passing and known broken tests.'
|
@echo 'Use "$(MAKE) V=1" to see the details for passing and known broken tests.'
|
||||||
@env NOTMUCH_TEST_QUIET=1 ${test_src_dir}/notmuch-test $(OPTIONS)
|
@env NOTMUCH_TEST_QUIET=1 $(NOTMUCH_SRCDIR)/$(test_src_dir)/notmuch-test $(OPTIONS)
|
||||||
else
|
else
|
||||||
# The user has explicitly enabled quiet execution.
|
# The user has explicitly enabled quiet execution.
|
||||||
ifeq ($V,0)
|
ifeq ($V,0)
|
||||||
@env NOTMUCH_TEST_QUIET=1 ${test_src_dir}/notmuch-test $(OPTIONS)
|
@env NOTMUCH_TEST_QUIET=1 $(NOTMUCH_SRCDIR)/$(test_src_dir)/notmuch-test $(OPTIONS)
|
||||||
else
|
else
|
||||||
@${test_src_dir}/notmuch-test $(OPTIONS)
|
@$(NOTMUCH_SRCDIR)/$(test_src_dir)/notmuch-test $(OPTIONS)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue