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 225A9431FBD for ; Mon, 3 Mar 2014 22:40:25 -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 vxGSeba3X3kF for ; Mon, 3 Mar 2014 22:40:21 -0800 (PST) Received: from dmz-mailsec-scanner-8.mit.edu (dmz-mailsec-scanner-8.mit.edu [18.7.68.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 145CF431FBC for ; Mon, 3 Mar 2014 22:40:20 -0800 (PST) X-AuditID: 12074425-f79906d000000cf9-da-531575525887 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP id D3.78.03321.25575135; Tue, 4 Mar 2014 01:40:18 -0500 (EST) Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id s246eFrH024121; Tue, 4 Mar 2014 01:40:15 -0500 Received: from drake.dyndns.org (216-15-114-40.c3-0.arl-ubr1.sbo-arl.ma.cable.rcn.com [216.15.114.40]) (authenticated bits=0) (User authenticated as amdragon@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id s246eDok008583 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Tue, 4 Mar 2014 01:40:15 -0500 Received: from amthrax by drake.dyndns.org with local (Exim 4.77) (envelope-from ) id 1WKj1R-00088S-9N; Tue, 04 Mar 2014 01:40:13 -0500 From: Austin Clements To: notmuch@notmuchmail.org Subject: [PATCH] test: Print the number of the test along with its name Date: Tue, 4 Mar 2014 01:40:08 -0500 Message-Id: <1393915208-31237-1-git-send-email-amdragon@mit.edu> X-Mailer: git-send-email 1.8.4.rc3 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsUixCmqrBtUKhps0D9P3uL6zZnMDowez1bd Yg5gjOKySUnNySxLLdK3S+DKOHfjIUvBV9aK90+eMDcwvmbpYuTkkBAwkXiw9Tk7hC0mceHe erYuRi4OIYHZTBJH//YzQTgbGCUedJ1igXBuM0kc39LPCuHMZZT49/cC2Cw2AQ2JbfuXM4LY IgLSEjvvzgYq4uBgFlCT+NOlAmIKC7hLrL5UCVLBIqAq0Xl/NiNImFfAQeJ7fzLEEUoSC09t Y53AyLuAkWEVo2xKbpVubmJmTnFqsm5xcmJeXmqRroVebmaJXmpK6SZGUAiwu6juYJxwSOkQ owAHoxIP74xpIsFCrIllxZW5hxglOZiURHmrS0SDhfiS8lMqMxKLM+KLSnNSiw8xSnAwK4nw yukD5XhTEiurUovyYVLSHCxK4ry1Fr+ChATSE0tSs1NTC1KLYLIyHBxKErxzi4EaBYtS01Mr 0jJzShDSTBycIMN5gIYrgSzmLS5IzC3OTIfIn2JUlBLn7QVpFgBJZJTmwfXCYvQVozjQK8K8 ViDtPMD4hut+BTSYCWiwmZ8IyOCSRISUVAMjx6bLz5dJNS2qzOIoumN4pEfky9W6RQ+41tdd uFoe+1Hykd6T7o6EDX5hW+7OCyo83/Pznbnh0hObRbvdLB8uuBFgpd2VFZdaviSE5c3xhAnu 29dFHtkzdZ38gbWv502R/iSacoN7cVljaPT7wBkb47c47SqurvValHclJe0uy7RIhyId/cvT lFiKMxINtZiLihMBnTu4yKwCAAA= 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 06:40:25 -0000 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. --- 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