Re: [PATCH] test: Print the number of the test along with its name
authorJani Nikula <jani@nikula.org>
Tue, 4 Mar 2014 17:47:38 +0000 (19:47 +0200)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:00:20 +0000 (10:00 -0800)
97/464e1bf09547598bf1180c286bbfaf42be456a [new file with mode: 0644]

diff --git a/97/464e1bf09547598bf1180c286bbfaf42be456a b/97/464e1bf09547598bf1180c286bbfaf42be456a
new file mode 100644 (file)
index 0000000..b378ad3
--- /dev/null
@@ -0,0 +1,103 @@
+Return-Path: <jani@nikula.org>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 89ED1431FBF\r
+       for <notmuch@notmuchmail.org>; Tue,  4 Mar 2014 10:55:16 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id Ajn7qexFEt-n for <notmuch@notmuchmail.org>;\r
+       Tue,  4 Mar 2014 10:55:08 -0800 (PST)\r
+Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com\r
+ [74.125.83.54])       (using TLSv1 with cipher RC4-SHA (128/128 bits))        (No client\r
+ certificate requested)        by olra.theworths.org (Postfix) with ESMTPS id\r
+ 7C3AE431FBD   for <notmuch@notmuchmail.org>; Tue,  4 Mar 2014 10:55:08 -0800\r
+ (PST)\r
+Received: by mail-ee0-f54.google.com with SMTP id d49so1677863eek.13\r
+       for <notmuch@notmuchmail.org>; Tue, 04 Mar 2014 10:55:05 -0800 (PST)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=1e100.net; s=20130820;\r
+       h=x-gm-message-state:from:to:subject:in-reply-to:references\r
+       :user-agent:date:message-id:mime-version:content-type;\r
+       bh=K69cnfc8wt6XRHqWln+JH4iDxNfCoFNq6DXc3bCUOzY=;\r
+       b=C4sTBx3+Rv1mHxbTCPXznsrK/AmZipYxtgrJ2gdLDhTlkawx3+2HUbXZ98+OhBwo3d\r
+       X2eTedTSozy/+aszrUE5xpV9CvwfcAzu6xR31GceRIY69n8sXDPWfwPMDOcHr/uhyT+u\r
+       Jbg2OeO7PZ0xA3/gu+hjS+Bwcf2reisJGPB25ovsP3G7PnegtdJMdePmwU3J0kKXVuDj\r
+       KZ8NrF1L4WCC+jGBihqkDOHiit7R6dL9F67+otG9ZLopwHWbeymZykrEcRdtzKKqJ/Vq\r
+       velDTYp/J0V9ZDUJXxTNu688YqPt2yAIiGEMUXs5htRrsvPNcfUAHg8g5snfyG6El9jn\r
+       lq1w==\r
+X-Gm-Message-State:\r
+ ALoCoQnhg8drQh+mBMb9dUSCmje2eCPAyWSIxSCReuQvRUvynKF1RFBbBUQImuFm6lhP3EzQjnN1\r
+X-Received: by 10.14.104.135 with SMTP id i7mr855177eeg.34.1393955261318;\r
+       Tue, 04 Mar 2014 09:47:41 -0800 (PST)\r
+Received: from localhost (dsl-hkibrasgw2-58c36f-91.dhcp.inet.fi.\r
+       [88.195.111.91]) by mx.google.com with ESMTPSA id\r
+       x45sm39890198eef.15.2014.03.04.09.47.39 for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Tue, 04 Mar 2014 09:47:40 -0800 (PST)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] test: Print the number of the test along with its name\r
+In-Reply-To: <1393915208-31237-1-git-send-email-amdragon@mit.edu>\r
+References: <1393915208-31237-1-git-send-email-amdragon@mit.edu>\r
+User-Agent: Notmuch/0.17+101~g2c5a6ae9e6e9 (http://notmuchmail.org)\r
+       Emacs/24.3.1 (x86_64-pc-linux-gnu)\r
+Date: Tue, 04 Mar 2014 19:47:38 +0200\r
+Message-ID: <87vbvtj1ol.fsf@nikula.org>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Tue, 04 Mar 2014 18:55:16 -0000\r
+\r
+On Tue, 04 Mar 2014, Austin Clements <amdragon@MIT.EDU> wrote:\r
+> Previously, we stripped the "Tnnn-" part from the test name when\r
+> printing its description at the beginning of each test.  However, this\r
+> makes it difficult to find the source script for a test (e.g., when a\r
+> test fails).  Put this prefix back.\r
+\r
+Yes, please!\r
+\r
+Jani.\r
+\r
+\r
+> ---\r
+>  test/test-lib.sh | 2 +-\r
+>  1 file changed, 1 insertion(+), 1 deletion(-)\r
+>\r
+> diff --git a/test/test-lib.sh b/test/test-lib.sh\r
+> index 78af170..9dad126 100644\r
+> --- a/test/test-lib.sh\r
+> +++ b/test/test-lib.sh\r
+> @@ -196,7 +196,7 @@ print_test_description ()\r
+>  {\r
+>      test -z "$test_description_printed" || return 0\r
+>      echo\r
+> -    echo $this_test_bare: "Testing ${test_description}"\r
+> +    echo $this_test: "Testing ${test_description}"\r
+>      test_description_printed=1\r
+>  }\r
+>  if [ -z "$NOTMUCH_TEST_QUIET" ]\r
+> -- \r
+> 1.8.4.rc3\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r