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 1B3CF429E26 for ; Tue, 13 Dec 2011 15:25:03 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-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 uYQsLViAz8L2 for ; Tue, 13 Dec 2011 15:25:02 -0800 (PST) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 57014429E25 for ; Tue, 13 Dec 2011 15:25:02 -0800 (PST) Received: by wgbds13 with SMTP id ds13so309192wgb.2 for ; Tue, 13 Dec 2011 15:25:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:in-reply-to:references:user-agent:date:message-id :mime-version:content-type; bh=FdIvBzTJp4dwn7dkSxa4lZsWjtyatd3FVQ7G0p0Nx30=; b=uQTRzoeW/L44l5R+WhNfmOKeEjptFy+lgXIIKstTVXW+4NvBPD0BsVY7jMfOr+db6q EKnWr9m+gJvgmbmcW/6ahsyHFOxinyMGfveUuFCqmY42O+YrPxTrByrmrJInOZ5bJ4Z2 t0BvA14w51PpP0RXmewPybBIESlkVSIkiPY5g= Received: by 10.227.208.81 with SMTP id gb17mr351156wbb.26.1323818701118; Tue, 13 Dec 2011 15:25:01 -0800 (PST) Received: from localhost ([91.144.186.21]) by mx.google.com with ESMTPS id ej17sm916870wbb.14.2011.12.13.15.25.00 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 13 Dec 2011 15:25:00 -0800 (PST) From: Dmitry Kurochkin To: David Bremner , Jameson Graef Rollins , notmuch@notmuchmail.org Subject: Re: [PATCH] test: optionally print subtest number In-Reply-To: <87d3bsjc1z.fsf@zancas.localnet> References: <1323806207-31888-1-git-send-email-david@tethera.net> <87zkew2jtu.fsf@servo.finestructure.net> <87d3bsjc1z.fsf@zancas.localnet> User-Agent: Notmuch/0.10.2+96~g74e5ae5 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Wed, 14 Dec 2011 03:24:23 +0400 Message-ID: <87hb14ukbc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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: Tue, 13 Dec 2011 23:25:03 -0000 On Tue, 13 Dec 2011 19:18:16 -0400, David Bremner wrote: > On Tue, 13 Dec 2011 14:22:21 -0800, Jameson Graef Rollins wrote: > > > I've only been vaguely following this "test count" stuff, but I'm not > > sure I understand what's the point of giving tests a number that is > > ultimately mutable. Why not just label things by the test name, instead > > of the count? That wouldn't require keeping track of number/name > > mapping, which will change over time. > > We don't actually have test names, at least not ones directly suitable > for file names. I guess we could encode them or something, is that what > you mean? > BTW I have some plans to introduce optional explicit test ids that can be used for inter-test dependencies. E.g.: test_begin_subtest test-id-1 "A subtest" .... ;; in another test requre that test-id-1 passed test_require_subtest test-id-1 Regards, Dmitry > d > _______________________________________________ > notmuch mailing list > notmuch@notmuchmail.org > http://notmuchmail.org/mailman/listinfo/notmuch