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

David Weinehall david.weinehall at linux.intel.com
Fri Oct 30 06:18:28 PDT 2015


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

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

 lib/igt_core.c                   |   43 +-
 lib/igt_core.h                   |   42 ++
 tests/.gitignore                 |    1 -
 tests/Makefile.sources           |    1 -
 tests/gem_concurrent_all.c       | 1108 -------------------------------------
 tests/gem_concurrent_blit.c      | 1114 +++++++++++++++++++++++++++++++++++++-
 tests/kms_frontbuffer_tracking.c |  207 +++----
 7 files changed, 1300 insertions(+), 1216 deletions(-)
 delete mode 100644 tests/gem_concurrent_all.c

-- 
2.6.2



More information about the Intel-gfx mailing list