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 96483431FD0 for ; Thu, 12 May 2011 10:52:47 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.699 X-Spam-Level: X-Spam-Status: No, score=-0.699 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] 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 cwSEoWBxnMG3 for ; Thu, 12 May 2011 10:52:46 -0700 (PDT) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.216.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 875EE431FB6 for ; Thu, 12 May 2011 10:52:46 -0700 (PDT) Received: by qyg14 with SMTP id 14so1177217qyg.5 for ; Thu, 12 May 2011 10:52:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=dbHc1qUr+t/IfRy2WNGgnVOtXwQ1/FlpeqZV6d6Tf2Y=; b=c9Vk5fN4FiGYvgUWkf3lQvgQK+xGTgTRBETlXQwLWTWcXY4bUHVMVtpI+ny2YvsFi2 ZKl9v8ythaMU+OoObahuv6tkwA3tfo5z9mp4I+6OHidW55R6dInJmqubfyabrIERUbTh u3ZyVZT2bhtvbPZTTArkY1UBKba62I8TBSxrs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=j8VCEZNqXmv5YeNauF3WkhAyadWsxkS4YWfwFyoICMDIPf7S34SU3R08jfoOcU2+qo b0X0qW3bM3WgTHBO25QORXcQOAkCUa3p5zNgiCOIz5tze01DY6dh6pRHzXon+fqJBQKz Jae+8WTn0b0Irv2lWxga0BiOdF+CMoG56do60= MIME-Version: 1.0 Received: by 10.229.251.13 with SMTP id mq13mr463877qcb.36.1305222765560; Thu, 12 May 2011 10:52:45 -0700 (PDT) Sender: amdragon@gmail.com Received: by 10.229.233.17 with HTTP; Thu, 12 May 2011 10:52:45 -0700 (PDT) In-Reply-To: <87zkms80zf.fsf@praet.org> References: <8762pn7gth.fsf@servo.factory.finestructure.net> <87iptkfzwx.fsf@servo.factory.finestructure.net> <877h9zokod.fsf@servo.factory.finestructure.net> <878vuencm5.fsf@servo.factory.finestructure.net> <878vuejym8.fsf@servo.factory.finestructure.net> <87wrhw2jmm.fsf@praet.org> <87zkms80zf.fsf@praet.org> Date: Thu, 12 May 2011 13:52:45 -0400 X-Google-Sender-Auth: __gYILAinbRgkO57-zWXei8Lf4s Message-ID: Subject: Re: release-candidate/0.6 From: Austin Clements To: Pieter Praet Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Notmuch Mail 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: Thu, 12 May 2011 17:52:47 -0000 Nifty. I was afraid to go romping through all of the other test dependencies; I'm glad somebody wasn't. ]:--8) It should be noted that these patches depend on id:1305206110-17511-1-git-send-email-amdragon@mit.edu for correctness and id:1305206080-17461-1-git-send-email-amdragon@mit.edu for sanity. Given that these patches aren't specifically 0.6-related and that it's good practice to send patches to the list, perhaps you could git send-email these patches as a new thread to the list? On Thu, May 12, 2011 at 10:09 AM, Pieter Praet wrote: > On Thu, 12 May 2011 09:18:48 -0400, Austin Clements wr= ote: >> On Thu, May 12, 2011 at 8:22 AM, Pieter Praet wrote: >> > The atomicity tests were failing here because I didn't have GDB >> > installed, so I've added it as a prereq. >> >> Sorry, I've had a patch to address that sitting around, but hadn't >> sent it out (and I only fixed that one test). =A0I would suggest a >> somewhat gentler approach than "error", though: >> >> if test_expect_success "prereq: gdb is present" "which gdb"; then >> =A0 =A0 test_set_prereq GDB >> fi >> >> (Plus the two test-lib patches I just sent: >> id:1305206080-17461-1-git-send-email-amdragon@mit.edu and >> id:1305206110-17511-1-git-send-email-amdragon@mit.edu). >> >> "error" has the disadvantage that it doesn't get counted as a failed >> test in the final tally (because, indeed, it's not a failed test) and >> also that it immediately terminates the test script so it's not >> actually using the prereq system (which is fine for the atomicity test >> since all of the test cases depend on GDB, but the pattern I'm >> proposing works for finer-grained prerequisites). =A0Plus, with the >> above approach, if you don't have a prerequisite, the final tally >> shows one failed test plus some number of skipped tests (and the total >> number of tests never changes), which I would argue is cleaner. > > Much obliged for the correction! > > > Peace > > > [0] git://github.com/praet/notmuch.git > =A0 =A0for-review/test-prereqs-v2 > =A0 =A0c9a785fc5c48db13 > > -- > Pieter > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch >