From patchwork Thu Oct 9 15:50:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 5059041 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 750FFC11AC for ; Thu, 9 Oct 2014 15:51:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A76B92017D for ; Thu, 9 Oct 2014 15:51:05 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 1A13A201BC for ; Thu, 9 Oct 2014 15:51:01 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 91EB66E385; Thu, 9 Oct 2014 08:51:00 -0700 (PDT) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by gabe.freedesktop.org (Postfix) with ESMTP id 7F42089C19 for ; Thu, 9 Oct 2014 08:50:58 -0700 (PDT) Received: by mail-wi0-f169.google.com with SMTP id cc10so1842974wib.2 for ; Thu, 09 Oct 2014 08:50:57 -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=NUXYXNCGdGilvHqTUazQ6PKXWN+k6vXfThP2YrH6MMY=; b=lBwnSVKT03HTsyYQJKtbu3T78VqXnP0eKdWkYmSOeHhNGUzjAfydTOQ3G64EbY40R+ SwddrptrIQonFjv5RDLa2rw89pUCiSLAM4u6fOEvM6CcdDnUmBeGgQpyQN5q6ZJKNloe JLkpmYmT02+HujtEmU54gUJ8Nf2nlflpcs6iq8em/1dixoKPW+6ipfaI/t032ArSYS66 +OIyXxgNAsl802UTKwj6RfkfitsXd4vCPbtCVg2a3UteX7OlqHz+FPDSlu5jFx5w6GJ2 TQ2xW4VQSJgmOQNVFdZhnZlzhnNiWRiRi99ghnuKAMbBNFYcDFPjt6rtlFRbTHNxiBKC xQzQ== X-Gm-Message-State: ALoCoQnjTzw591T2ghiEZJ9N4cUWjHTKaW+uEF3av4EXsxJHbkBYRCDct9097EDkLq3Bvg10EpHT X-Received: by 10.181.13.132 with SMTP id ey4mr40134711wid.33.1412869857669; Thu, 09 Oct 2014 08:50:57 -0700 (PDT) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id cy10sm3972329wjb.21.2014.10.09.08.50.56 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Oct 2014 08:50:57 -0700 (PDT) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Thu, 9 Oct 2014 16:50:53 +0100 Message-Id: <1412869853-7689-2-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1412869853-7689-1-git-send-email-thomas.wood@intel.com> References: <1412869853-7689-1-git-send-email-thomas.wood@intel.com> Subject: [Intel-gfx] [PATCH i-g-t 2/2] tests/kms_force_connect: skip if a VGA connector is not available 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=-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 Signed-off-by: Thomas Wood --- tests/kms_force_connector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/kms_force_connector.c b/tests/kms_force_connector.c index 96881c7..361bf84 100644 --- a/tests/kms_force_connector.c +++ b/tests/kms_force_connector.c @@ -54,7 +54,7 @@ main (int argc, char **argv) connector = NULL; } - igt_assert(connector); + igt_require(connector); /* force the connector on and check the reported values */ kmstest_force_connector(drm_fd, connector, FORCE_CONNECTOR_ON);