From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 06046429E25 for ; Sun, 4 Dec 2011 07:59:19 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vSVKD91vNPzK for ; Sun, 4 Dec 2011 07:59:18 -0800 (PST) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 79E4C429E21 for ; Sun, 4 Dec 2011 07:59:18 -0800 (PST) Received: from zancas.localnet (fctnnbsc36w-156034079193.pppoe-dynamic.High-Speed.nb.bellaliant.net [156.34.79.193]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pB4FxF6r006335 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Sun, 4 Dec 2011 11:59:15 -0400 Received: from bremner by zancas.localnet with local (Exim 4.77) (envelope-from ) id 1RXETC-0001yp-SL; Sun, 04 Dec 2011 11:59:14 -0400 From: David Bremner To: notmuch@notmuchmail.org Subject: [PATCH] test: add test-binaries target Date: Sun, 4 Dec 2011 11:58:49 -0400 Message-Id: <1323014329-7581-1-git-send-email-david@tethera.net> X-Mailer: git-send-email 1.7.7.3 Cc: David Bremner X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Dec 2011 15:59:19 -0000 From: David Bremner 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