[Intel-gfx] [PATCH i-g-t v4 0/3] Unify slow/combinatorial test handling

David Weinehall david.weinehall at linux.intel.com
Thu Feb 11 11:09:31 UTC 2016

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


More information about the Intel-gfx mailing list