Unify slow/combinatorial test handling

New | Submitter: David Weinehall | Reviewer: None | Updated on Oct. 23, 2015, 11:42 a.m. | Series ID: 1140

Cover letter

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 a --with-slow-combinatorial 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.

The diffstat looks a bit scary, but that is due to the rename
of gem_concurrent_all to gem_concurrent_blit.

David Weinehall (3):
  Rename gem_concurren_all over gem_concurrent_blit
  Unify handling of slow/combinatorial tests
  Remove gem_concurrent_all, since it is now superfluous

  lib/igt_core.c                   |   19 +
  lib/igt_core.h                   |    1 +
  tests/Makefile.sources           |    1 -
  tests/gem_concurrent_all.c       | 1108 -------------------------------------
  tests/gem_concurrent_blit.c      | 1132 +++++++++++++++++++++++++++++++++++++-
  tests/kms_frontbuffer_tracking.c |  135 +++--
  6 files changed, 1238 insertions(+), 1158 deletions(-)
  delete mode 100644 tests/gem_concurrent_all.c
      
David Weinehall Oct. 28, 2015, 11:29 a.m.
We'll both rename gem_concurrent_all over gem_concurrent_blit
and change gem_concurrent_blit in this changeset. To make
this easier to follow we first do the the rename.

Signed-off-by: David Weinehall <david.weinehall@linux.intel.com>

---
tests/gem_concurrent_blit.c | 1116 ++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 1108 insertions(+), 8 deletions(-)