Skip to content

Unify slow/combinatorial test handling

David Weinehall intel-gfx 4 versions – In review

Get series with b4
b4 am 1455188974-17801-1-git-send-email-david.weinehall@linux.intel.com

Versions newest first · linked by author and title

  1. v4 Latest3 patches 4 repliesIn review
  2. v33 patches 2 repliesSuperseded
  3. v20 of 3 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches27 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tests/gem_concurrent_blit: rename gem_concurrent_alltests/gem_concurrent_blit.c+1540 -80 replies
2/3lib/igt_core: Unify handling of slow/combinatorial testslib/igt_core.c lib/igt_core.h tests/gem_concurrent_blit.c +1 more+210 -1114 replies
3/3tests/gem_concurrent_all: Remove gem_concurrent_all.ctests/Makefile.sources tests/gem_concurrent_all.c+0 -15410 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

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

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
Signature · 6 lines
2.7.0

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx