intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: David Weinehall <david.weinehall@linux.intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH i-g-t v4 0/3] Unify slow/combinatorial test handling
Date: Thu, 11 Feb 2016 13:09:31 +0200	[thread overview]
Message-ID: <1455188974-17801-1-git-send-email-david.weinehall@linux.intel.com> (raw)

Until now we've had no unified way to handle slow/combinatorial tests.
Most of the time we don't want to run slow/combinatorial tests, so this
should remain the default, but when we do want to run such tests,
it has been handled differently in different tests.

This patch adds an --all command line option to igt_core, changes
gem_concurrent_blit and kms_frontbuffer_tracking to use this instead of
their own methods, and removes gem_concurrent_all in the process, since
it's now unnecessary.

Test cases that have subtests that should not be run by default should
use the igt_subtest_flags() / ugt_subtest_flags_f() functions and
pass the subtest types as part of the flags parameter.

v2: Incorporate various suggestions from reviewers.

v3: Rewrite to provide a generic mechanism for categorising
    the subtests

v4: Refreshed against a more recent version of i-g-t

David Weinehall (3):
  Copy gem_concurrent_all to gem_concurrent_blit
  Unify handling of slow/combinatorial tests
  Remove superfluous gem_concurrent_all.c

David Weinehall (3):
  tests/gem_concurrent_blit: rename gem_concurrent_all
  lib/igt_core: Unify handling of slow/combinatorial tests
  tests/gem_concurrent_all: Remove gem_concurrent_all.c

 lib/igt_core.c                   |   43 +-
 lib/igt_core.h                   |   42 ++
 tests/Makefile.sources           |    1 -
 tests/gem_concurrent_all.c       | 1540 -------------------------------------
 tests/gem_concurrent_blit.c      | 1548 +++++++++++++++++++++++++++++++++++++-
 tests/kms_frontbuffer_tracking.c |  186 +++--
 6 files changed, 1725 insertions(+), 1635 deletions(-)
 delete mode 100644 tests/gem_concurrent_all.c

-- 
2.7.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2016-02-11 11:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-11 11:09 David Weinehall [this message]
2016-02-11 11:09 ` [PATCH i-g-t v4 1/3] tests/gem_concurrent_blit: rename gem_concurrent_all David Weinehall
2016-02-11 11:09 ` [PATCH i-g-t v4 2/3] lib/igt_core: Unify handling of slow/combinatorial tests David Weinehall
2016-02-11 13:04   ` Chris Wilson
2016-02-11 13:40     ` David Weinehall
2016-02-16 15:45   ` Daniel Vetter
2016-02-18  8:42     ` David Weinehall
2016-02-11 11:09 ` [PATCH i-g-t v4 3/3] tests/gem_concurrent_all: Remove gem_concurrent_all.c David Weinehall

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455188974-17801-1-git-send-email-david.weinehall@linux.intel.com \
    --to=david.weinehall@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).