From: David Bremner Date: Tue, 14 Jun 2016 00:57:00 +0000 (+2100) Subject: Re: [PATCH 2/4] test: factor out some boilerplate from C tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=623cd286b074c197a6c52fb1014722ec03bf3dfb;p=notmuch-archives.git Re: [PATCH 2/4] test: factor out some boilerplate from C tests --- diff --git a/bd/4da9da80dab00ec6060d5e9b7535574f60667b b/bd/4da9da80dab00ec6060d5e9b7535574f60667b new file mode 100644 index 000000000..abf7c6dff --- /dev/null +++ b/bd/4da9da80dab00ec6060d5e9b7535574f60667b @@ -0,0 +1,62 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by arlo.cworth.org (Postfix) with ESMTP id ACF186DE02A7 + for ; Mon, 13 Jun 2016 17:57:12 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at cworth.org +X-Spam-Flag: NO +X-Spam-Score: -0.011 +X-Spam-Level: +X-Spam-Status: No, score=-0.011 tagged_above=-999 required=5 + tests=[AWL=-0.000, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] + autolearn=disabled +Received: from arlo.cworth.org ([127.0.0.1]) + by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id xZPiHuCPTJn6 for ; + Mon, 13 Jun 2016 17:57:05 -0700 (PDT) +Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) + by arlo.cworth.org (Postfix) with ESMTPS id D2ADB6DE0008 + for ; Mon, 13 Jun 2016 17:57:04 -0700 (PDT) +Received: from remotemail by fethera.tethera.net with local (Exim 4.84) + (envelope-from ) + id 1bCceu-0005Kw-Ne; Mon, 13 Jun 2016 20:56:48 -0400 +Received: (nullmailer pid 31239 invoked by uid 1000); + Tue, 14 Jun 2016 00:57:00 -0000 +From: David Bremner +To: notmuch@notmuchmail.org +Subject: Re: [PATCH 2/4] test: factor out some boilerplate from C tests +In-Reply-To: <1465043356-23420-3-git-send-email-david@tethera.net> +References: + <1465043356-23420-1-git-send-email-david@tethera.net> + <1465043356-23420-3-git-send-email-david@tethera.net> +User-Agent: Notmuch/0.22+28~gb9bf3f4 (http://notmuchmail.org) Emacs/24.5.1 + (x86_64-pc-linux-gnu) +Date: Mon, 13 Jun 2016 21:57:00 -0300 +Message-ID: <87fusgtwo3.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.20 +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: Tue, 14 Jun 2016 00:57:12 -0000 + +David Bremner writes: + +> The trick of having a common header file doesn't work to share between +> test scripts, so make an include file in the test directory. + +I pushed this one, and the fixup, because it was starting to get +confusing with various feature branches depending on it, or conflicting +with it. + +d