From 44e68cf0060220d1c12f2d53f97ea167546f7206 Mon Sep 17 00:00:00 2001 From: Tomi Ollila Date: Tue, 4 Mar 2014 12:44:26 +0200 Subject: [PATCH] Re: [PATCH] test: Print the number of the test along with its name --- c5/a2fd01ea9381ad3a7d1d53e8653df8feca7528 | 86 +++++++++++++++++++++++ 1 file changed, 86 insertions(+) create mode 100644 c5/a2fd01ea9381ad3a7d1d53e8653df8feca7528 diff --git a/c5/a2fd01ea9381ad3a7d1d53e8653df8feca7528 b/c5/a2fd01ea9381ad3a7d1d53e8653df8feca7528 new file mode 100644 index 000000000..c57b0b0fa --- /dev/null +++ b/c5/a2fd01ea9381ad3a7d1d53e8653df8feca7528 @@ -0,0 +1,86 @@ +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 D02BE431FBF + for ; Tue, 4 Mar 2014 02:44:45 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + 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 LYve0AbttOgS for ; + Tue, 4 Mar 2014 02:44:37 -0800 (PST) +Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) + by olra.theworths.org (Postfix) with ESMTP id C45E7431FBD + for ; Tue, 4 Mar 2014 02:44:36 -0800 (PST) +Received: from guru.guru-group.fi (localhost [IPv6:::1]) + by guru.guru-group.fi (Postfix) with ESMTP id 80380100245; + Tue, 4 Mar 2014 12:44:26 +0200 (EET) +From: Tomi Ollila +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+112~g4e0c1d5 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-unknown-linux-gnu) +X-Face: HhBM'cA~ +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 10:44:46 -0000 + +On Tue, Mar 04 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. + +LGTM. + +Tomi + + +> --- +> 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