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