From patchwork Fri Sep 5 09:52:09 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 4851061 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AB3F49F3AE for ; Fri, 5 Sep 2014 09:52:22 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EB690202B8 for ; Fri, 5 Sep 2014 09:52:21 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 2C6E5202B4 for ; Fri, 5 Sep 2014 09:52:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B8E5B6E83A; Fri, 5 Sep 2014 02:52:20 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by gabe.freedesktop.org (Postfix) with ESMTP id A036B6E838 for ; Fri, 5 Sep 2014 02:52:19 -0700 (PDT) Received: by mail-wg0-f44.google.com with SMTP id m15so11274874wgh.3 for ; Fri, 05 Sep 2014 02:52:18 -0700 (PDT) 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=YVV5EpgT7c9L38jEofy3KlRlz11DsATaANHZ+QZP5MI=; b=mHtJrnOHUOkZcRoCocTYIuQiduV6QTiaQoMqMD5Ii9DEUjfaehdm6k1ecbjyCwsVMY r60MeD4cOPmc2HumMpMxL8zjn2sd6M+EWFKF0a9Tg3BHBiacsRD98tLtAWHkMlt7nAWS 8i0Zp9pQWgmUQ5t3Lx66w21DCvFvsORh66U+FbgauPcSpYF2ytTYxgQ/EqYFIgYya3qB 3xSE/AolvHDfujAJ1ozPukK0xs/+xKEgb/kVl0UCPb/hs4wf6NKaF04yyP/zax27a8dh eVu2cEEfuLEaYTfjVZ9zbaKeh/VVVQCcyiIIG9VvlNNRRz+YI8IpjgGmCQARFvDdJIjJ vIlA== X-Gm-Message-State: ALoCoQk5zUNQ3BhxdyCckWhq6p5LwdR1YtGfMx7+Tc9l6nLlA5G+sFd94vq+pBiH7lC1drGaedeA X-Received: by 10.180.86.133 with SMTP id p5mr2392356wiz.40.1409910738698; Fri, 05 Sep 2014 02:52:18 -0700 (PDT) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id h6sm875050wjb.33.2014.09.05.02.52.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Sep 2014 02:52:18 -0700 (PDT) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Fri, 5 Sep 2014 10:52:09 +0100 Message-Id: <1409910729-13485-7-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1409910729-13485-1-git-send-email-thomas.wood@intel.com> References: <5408C410.8080500@intel.com> <1409910729-13485-1-git-send-email-thomas.wood@intel.com> Subject: [Intel-gfx] [PATCH i-g-t v2 6/6] tests/kms_3d: skip if connectors cannot be forced X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.15 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=-5.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, 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 Signed-off-by: Thomas Wood --- tests/kms_3d.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/kms_3d.c b/tests/kms_3d.c index ddf4dc6..c11873b 100644 --- a/tests/kms_3d.c +++ b/tests/kms_3d.c @@ -60,7 +60,8 @@ igt_simple_main &length); kmstest_force_edid(drm_fd, connector, edid, length); - kmstest_force_connector(drm_fd, connector, FORCE_CONNECTOR_ON); + if (!kmstest_force_connector(drm_fd, connector, FORCE_CONNECTOR_ON)) + igt_skip("Could not force connector on\n"); connector_id = connector->connector_id;