From patchwork Fri May 27 16:27:46 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marius Vlad X-Patchwork-Id: 9138729 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 80DBE6075A for ; Fri, 27 May 2016 16:24:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6AA1F27CEC for ; Fri, 27 May 2016 16:24:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F5A9281F9; Fri, 27 May 2016 16:24:19 +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 autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 75CE127CEC for ; Fri, 27 May 2016 16:24:18 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1CC546EC94; Fri, 27 May 2016 16:24:17 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by gabe.freedesktop.org (Postfix) with ESMTP id BA5096EC94 for ; Fri, 27 May 2016 16:24:15 +0000 (UTC) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga104.fm.intel.com with ESMTP; 27 May 2016 09:24:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,374,1459839600"; d="scan'208";a="990085375" Received: from mcvlad-wk.rb.intel.com ([10.237.105.57]) by fmsmga002.fm.intel.com with ESMTP; 27 May 2016 09:24:13 -0700 From: Marius Vlad To: intel-gfx@lists.freedesktop.org Date: Fri, 27 May 2016 19:27:46 +0300 Message-Id: <1464366473-14046-1-git-send-email-marius.c.vlad@intel.com> X-Mailer: git-send-email 2.8.0.rc3 Subject: [Intel-gfx] [PATCH i-g-t v2 1/8] tests/gem_exec_flush: Remove tests from BAT. 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 Signed-off-by: Marius Vlad --- tests/gem_exec_flush.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/tests/gem_exec_flush.c b/tests/gem_exec_flush.c index d08b843..2f271bb 100644 --- a/tests/gem_exec_flush.c +++ b/tests/gem_exec_flush.c @@ -532,18 +532,15 @@ igt_main } for (const struct batch *b = batches; b->name; b++) { - igt_subtest_f("%sbatch-%s-%s-uc", - b == batches && e->exec_id == 0 ? "basic-" : "", + igt_subtest_f("batch-%s-%s-uc", b->name, e->name) batch(fd, ring, ncpus, timeout, b->mode, 0); - igt_subtest_f("%sbatch-%s-%s-wb", - b == batches && e->exec_id == 0 ? "basic-" : "", + igt_subtest_f("batch-%s-%s-wb", b->name, e->name) batch(fd, ring, ncpus, timeout, b->mode, COHERENT); - igt_subtest_f("%sbatch-%s-%s-cmd", - b == batches && e->exec_id == 0 ? "basic-" : "", + igt_subtest_f("batch-%s-%s-cmd", b->name, e->name) batch(fd, ring, ncpus, timeout, b->mode, @@ -551,8 +548,7 @@ igt_main } for (const struct mode *m = modes; m->name; m++) { - igt_subtest_f("%suc-%s-%s", - (m->flags & BASIC && e->exec_id == 0) ? "basic-" : "", + igt_subtest_f("uc-%s-%s", m->name, e->name) run(fd, ring, ncpus, timeout, @@ -564,8 +560,7 @@ igt_main run(fd, ring, ncpus, timeout, UNCACHED | m->flags | INTERRUPTIBLE); - igt_subtest_f("%swb-%s-%s", - e->exec_id == 0 ? "basic-" : "", + igt_subtest_f("wb-%s-%s", m->name, e->name) run(fd, ring, ncpus, timeout,