Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 0F259431FD0 for ; Fri, 25 Nov 2011 05:04:47 -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 RiiYOGdKu-iX for ; Fri, 25 Nov 2011 05:04:46 -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 6529B431FB6 for ; Fri, 25 Nov 2011 05:04:46 -0800 (PST) Received: from convex-new.cs.unb.ca ([131.202.13.154]) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pAPD4iLZ011146; Fri, 25 Nov 2011 09:04:44 -0400 Received: from bremner by convex-new.cs.unb.ca with local (Exim 4.72) (envelope-from ) id 1RTvSO-00031N-AT; Fri, 25 Nov 2011 09:04:44 -0400 From: David Bremner To: Amadeusz =?utf-8?B?xbtvxYJub3dza2k=?= , notmuch@notmuchmail.org Subject: Re: [PATCH 1/2] Build symbol-test with make instead of hardcoding in symbol-hiding. In-Reply-To: <1322218492-8300-1-git-send-email-aidecoe@aidecoe.name> References: <1322218492-8300-1-git-send-email-aidecoe@aidecoe.name> User-Agent: Notmuch/0.10~rc1+12~g53b921d (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Fri, 25 Nov 2011 09:04:44 -0400 Message-ID: <878vn4bbf7.fsf@convex-new.cs.unb.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Fri, 25 Nov 2011 13:04:47 -0000 On Fri, 25 Nov 2011 11:54:51 +0100, Amadeusz =C5=BBo=C5=82nowski wrote: >=20=20 > +$(dir)/symbol-test: $(dir)/symbol-test.o > + $(call quiet,CC) $^ -o $@ -Llib -lnotmuch -lxapian I'm a bit surprised no -I is neaded here. Is that taken care in the CC call? > .PHONY: test check > -test: all $(dir)/smtp-dummy > +test: all $(dir)/smtp-dummy $(dir)/symbol-test > @${dir}/notmuch-test $(OPTIONS) The instructions were already wrong, but maybe they should be updated to point out that calling the test scripts directly requires smtp-dummy and symbol-test already be built. Or maybe the tests should check for these binaries as pre-reqs along with emacs, gpg, etc...=20 > + -e "/^(emacs.expected-output|smtp-dummy|smtp-dummy.c|test-verbose|sy= mbol-test.cc|symbol-test|symbol-test.o)/d" \ I wonder if this should be shortened (and made a bit sloppier) with the use of regexes.