From patchwork Tue Aug 8 16:16:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Stone X-Patchwork-Id: 9888713 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2A27B603F2 for ; Tue, 8 Aug 2017 16:17:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1CE6A2894A for ; Tue, 8 Aug 2017 16:17:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 11561289DA; Tue, 8 Aug 2017 16:17:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A0F3128987 for ; Tue, 8 Aug 2017 16:17:11 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id B7EA96E19A; Tue, 8 Aug 2017 16:16:53 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) by gabe.freedesktop.org (Postfix) with ESMTPS id E63AB6E195 for ; Tue, 8 Aug 2017 16:16:51 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: daniels) with ESMTPSA id B636226C727 From: Daniel Stone To: intel-gfx@lists.freedesktop.org Date: Tue, 8 Aug 2017 17:16:42 +0100 Message-Id: <20170808161645.25329-5-daniels@collabora.com> X-Mailer: git-send-email 2.13.4 In-Reply-To: <20170808161645.25329-1-daniels@collabora.com> References: <20170808161645.25329-1-daniels@collabora.com> Cc: daniel.vetter@ffwll.ch Subject: [Intel-gfx] [PATCH i-g-t 5/8] tests/kms_ccs: Reshuffle test name and loop 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-Virus-Scanned: ClamAV using ClamSMTP In preparation for also testing sprites. Signed-off-by: Daniel Stone --- tests/kms_ccs.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/kms_ccs.c b/tests/kms_ccs.c index 50bb2ad6..1a5cdcd4 100644 --- a/tests/kms_ccs.c +++ b/tests/kms_ccs.c @@ -342,13 +342,13 @@ igt_main for (data.pipe = PIPE_A; data.pipe < IGT_MAX_PIPES; data.pipe++) { data.flags = TEST_CRC; - igt_subtest_f("pipe-%s-crc-basic", kmstest_pipe_name(data.pipe)) + igt_subtest_f("pipe-%s-crc-primary-basic", + kmstest_pipe_name(data.pipe)) test(&data); - } - for (data.pipe = PIPE_A; data.pipe < IGT_MAX_PIPES; data.pipe++) { - data.flags = TEST_CRC | TEST_ROTATE_180; - igt_subtest_f("pipe-%s-crc-rotation-180", kmstest_pipe_name(data.pipe)) + data.flags |= TEST_ROTATE_180; + igt_subtest_f("pipe-%s-crc-primary-rotation-180", + kmstest_pipe_name(data.pipe)) test(&data); }