From patchwork Tue Jan 27 11:17:01 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 5716461 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 7ABC6C058D for ; Tue, 27 Jan 2015 11:17:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C10FE201BB for ; Tue, 27 Jan 2015 11:17:10 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 1B24C20142 for ; Tue, 27 Jan 2015 11:17:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8219C6E523; Tue, 27 Jan 2015 03:17:09 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by gabe.freedesktop.org (Postfix) with ESMTP id B79C76E523 for ; Tue, 27 Jan 2015 03:17:07 -0800 (PST) Received: by mail-wg0-f53.google.com with SMTP id a1so14072369wgh.12 for ; Tue, 27 Jan 2015 03:17:07 -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:date:message-id:in-reply-to :references; bh=DMbsGFDhF47CADZE5P3cedsa2kPplIvma7Rt4uQIVbw=; b=Pjizx+S/i2gMYjq5VCX4bzlhjqUg8b/XjIXocgIM1WiXSlOwFBc48hdV5yhQ+9dR36 TtYqkeN5sRE4u/G0Ktz12EpAzuU0GhuVg0Oa7k9SvGVnQlSCAe67+9xACmtiBeJsL2lZ xjq5kALE/T4FvgJ6sT95fzoNIk9Dezc61XiIZvLYDF4KqZnT4r/lnqov3ZfAYs7G5Sxp mt/x2uRzPklQssktGZ8eMwByL6L2GpF7HHOz7aF0XIH/lM9LLE6ayEUNKkZYUdh/aRp6 ji3HARP9kHbtNoGO/2mIwd63sfGNZGPGryd1g82zGhH4kcCniwJQF8qciqxcPT6UniD/ OQHA== X-Gm-Message-State: ALoCoQm0qfhr71tCLJ3ylcFxA8HA7ULnKUiHVQ6o+nzw9apHcByHlASmMivvDwyB51Gj6inaE490 X-Received: by 10.180.8.35 with SMTP id o3mr4973320wia.60.1422357426924; Tue, 27 Jan 2015 03:17:06 -0800 (PST) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id x18sm1739020wia.12.2015.01.27.03.17.05 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Jan 2015 03:17:06 -0800 (PST) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Tue, 27 Jan 2015 11:17:01 +0000 Message-Id: <1422357422-4315-2-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1422357422-4315-1-git-send-email-thomas.wood@intel.com> References: <1422357422-4315-1-git-send-email-thomas.wood@intel.com> Subject: [Intel-gfx] [PATCH i-g-t 2/3] lib: print warning and critical messages when listing subtests X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP These messages are sent to stderr and could indicate an issue when enumerating subtests. Signed-off-by: Thomas Wood --- lib/igt_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/igt_core.c b/lib/igt_core.c index 2692fe4..bc588e2 100644 --- a/lib/igt_core.c +++ b/lib/igt_core.c @@ -1507,7 +1507,7 @@ void igt_vlog(const char *domain, enum igt_log_level level, const char *format, program_name = command_str; #endif - if (list_subtests) + if (list_subtests && level <= IGT_LOG_WARN) return; if (igt_log_level > level)