3 dir := performance-test
5 include $(dir)/version.sh
7 CORPUS_NAME := notmuch-email-corpus-$(PERFTEST_VERSION).tar.xz
8 TXZFILE := ${dir}/download/${CORPUS_NAME}
9 SIGFILE := ${TXZFILE}.asc
10 TEST_SCRIPT := ${dir}/notmuch-perf-test
11 DEFAULT_URL := http://notmuchmail.org/releases/${CORPUS_NAME}
13 perf-test: setup-perf-test all
14 $(TEST_SCRIPT) $(OPTIONS)
16 .PHONY: download-corpus setup-perf-test
18 # Note that this intentionally does not depend on download-corpus.
19 setup-perf-test: $(TXZFILE)
20 gpg --verify $(SIGFILE)
23 @printf "\nPlease download ${TXZFILE} using:\n\n"
24 @printf "\t%% make download-corpus\n\n"
25 @echo or see http://notmuchmail.org/corpus for download locations
30 wget -O ${TXZFILE} ${DEFAULT_URL}
32 CLEAN := $(CLEAN) $(dir)/tmp.*