From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 834BF6DE20C3 for ; Sun, 26 Feb 2017 09:36:59 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.175 X-Spam-Level: X-Spam-Status: No, score=-0.175 tagged_above=-999 required=5 tests=[AWL=-0.155, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cfwoVLoubcTC for ; Sun, 26 Feb 2017 09:36:59 -0800 (PST) Received: from mail-lf0-f67.google.com (mail-lf0-f67.google.com [209.85.215.67]) by arlo.cworth.org (Postfix) with ESMTPS id 895636DE2092 for ; Sun, 26 Feb 2017 09:36:58 -0800 (PST) Received: by mail-lf0-f67.google.com with SMTP id j2so4653360lfe.0 for ; Sun, 26 Feb 2017 09:36:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=N+scebNgaJHn7vy4luNhRiQND3XSJSC8GupbJ0XVTIY=; b=Bofj8cCcDb6tE05tMa2Re1hkYnC7t246NH2KQs3X53BMxg1kixIAR6sLZD0L+2aozc NqRS9jJcTeZpOcHJzT+vMCIz0u/322zjQHyWrPHShzbkNTxo+vadLQ9A87BVpboCg/eG GzH1WY1+YOhpU7I+nUconEY2x9IgP/h5vHICEyR2XfOSZhSjwp33j/7XU8AqZRUq7E1d /KLB3nBR0qTnmRs7rUYWJ9darRxOY7ccjq6LOFQ9xDaqcQvi41GH1vxYVvLKFMp2l7GS v6vMLVNDFsJrsUSysfXwINHbXB+utf72rOmQEqsVGYS2cG42SCnkTRCz3JstJmRdrzRc YV9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=N+scebNgaJHn7vy4luNhRiQND3XSJSC8GupbJ0XVTIY=; b=VxRvQvOao1Wdgtj+fXJOPzSsgiX3d5UdIi0Pu1C+Lvst5haeuSbK5jcuvMO1Vg00p5 8DbHsZYPccN96f+pKm3aa0dl0Du311+W71PEg0eOUeozKVUJa7InemAA1SxedGbGOjnR s2Cwgu3h3opOdmS/MLbsW5OqgbQV4KCCYueq6idOZVkJiMA8XZ+mUlpXaZ//Tydzbckd 691sGx5NSMESRshbc3gq4UkLbb7pbdlsu4rguB7wBP3Guwd9Jplx3KwGYOsvlCUzeOBd a8/SkBhGEvJNYTKuIbLtE/u5C91CcGRvOESc6Ms1pgN+7GZentRz3jI7JyTd+LZjKjoE 1Ovw== X-Gm-Message-State: AMke39kdLV+sLe2NIson0mfXMqX8s+o9n4SbPpVeCZ/CkGUF292kHY8pj1dzPcPINpNFIw== X-Received: by 10.25.18.95 with SMTP id h92mr3129417lfi.63.1488130617034; Sun, 26 Feb 2017 09:36:57 -0800 (PST) Received: from localhost (mobile-access-bcee80-14.dhcp.inet.fi. [188.238.128.14]) by smtp.gmail.com with ESMTPSA id m127sm3331592lfg.58.2017.02.26.09.36.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 26 Feb 2017 09:36:56 -0800 (PST) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 2/3] test: print test description also for failing known broken tests Date: Sun, 26 Feb 2017 19:36:49 +0200 Message-Id: <20170226173650.16182-2-jani@nikula.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170226173650.16182-1-jani@nikula.org> References: <20170226173650.16182-1-jani@nikula.org> X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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: Sun, 26 Feb 2017 17:36:59 -0000 With the test description, the user can see the test script name, and debug with that alone. --- 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 d8e159437ca9..2d9efa0ba799 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -858,12 +858,12 @@ test_ok_ () { } test_failure_ () { + print_test_description if test "$test_subtest_known_broken_" = "t"; then test_known_broken_failure_ "$@" return fi test_failure=$(($test_failure + 1)) - print_test_description test_failure_message_ "FAIL" "$test_subtest_name" "$@" test "$immediate" = "" || { GIT_EXIT_OK=t; exit 1; } return 1 -- 2.11.0