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 A433B431FAF for ; Wed, 18 Jan 2012 04:21:33 -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 DrtY3FqEjBTY for ; Wed, 18 Jan 2012 04:21:33 -0800 (PST) Received: from mail-ww0-f45.google.com (mail-ww0-f45.google.com [74.125.82.45]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 1D4DC431FAE for ; Wed, 18 Jan 2012 04:21:32 -0800 (PST) Received: by wgbdr13 with SMTP id dr13so2254717wgb.2 for ; Wed, 18 Jan 2012 04:21:31 -0800 (PST) Received: by 10.180.77.35 with SMTP id p3mr36072496wiw.11.1326889291902; Wed, 18 Jan 2012 04:21:31 -0800 (PST) Received: from localhost ([109.131.97.13]) by mx.google.com with ESMTPS id r1sm22124380wia.8.2012.01.18.04.21.31 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 18 Jan 2012 04:21:31 -0800 (PST) From: Pieter Praet To: Dmitry Kurochkin , Ethan Glasser-Camp Subject: [PATCH] test: always report missing prereqs, independent of `--verbose' option Date: Wed, 18 Jan 2012 13:19:41 +0100 Message-Id: <1326889181-32311-1-git-send-email-pieter@praet.org> X-Mailer: git-send-email 1.7.8.1 In-Reply-To: <87d3aj8rcl.fsf@gmail.com> References: <87d3aj8rcl.fsf@gmail.com> Cc: Notmuch Mail 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: Wed, 18 Jan 2012 12:21:33 -0000 When tests are skipped due to missing prereqs, those prereqs are only displayed when running with the `--verbose' option. This is essential information when troubleshooting, so always send to stdout. --- test/test-lib.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index d1fbc05..6560628 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -673,8 +673,8 @@ test_skip () { test_check_missing_external_prereqs_ () { if test -n "$test_subtest_missing_external_prereqs_"; then - say_color skip >&3 "missing prerequisites:" - echo "$test_subtest_missing_external_prereqs_" >&3 + say_color skip >&1 "missing prerequisites:" + echo "$test_subtest_missing_external_prereqs_" >&1 test_report_skip_ "$@" else false -- 1.7.8.1