All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH i-g-t] i915/i915_selftests: Expose 'perf' selftests
@ 2019-11-01 14:21 ` Chris Wilson
  0 siblings, 0 replies; 11+ messages in thread
From: Chris Wilson @ 2019-11-01 14:21 UTC (permalink / raw)
  To: intel-gfx; +Cc: igt-dev, Tomi Sarvela, Matthew Auld

Find all the perf* selftests and expose them in our igt. In CI we expect
these not to be run in BAT (since they are just performance tests rather
than conformance), but expect the results to be available from the
shards.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Auld <matthew.auld@intel.com>
Cc: Tomi Sarvela <tomi.p.sarvela@intel.com>
---
 tests/i915/i915_selftest.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/tests/i915/i915_selftest.c b/tests/i915/i915_selftest.c
index 6d597e682..abc8c9c79 100644
--- a/tests/i915/i915_selftest.c
+++ b/tests/i915/i915_selftest.c
@@ -40,4 +40,9 @@ igt_main
 			    "live_selftests=-1 disable_display=1 st_filter=%s",
 			    env) < sizeof(opts));
 	igt_kselftests("i915", opts, "live_selftests", "live");
+
+	igt_assert(snprintf(opts, sizeof(opts),
+			    "perf_selftests=-1 disable_display=1 st_filter=%s",
+			    env) < sizeof(opts));
+	igt_kselftests("i915", opts, "perf_selftests", "perf");
 }
-- 
2.24.0.rc2

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

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2019-11-03  0:17 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-01 14:21 [PATCH i-g-t] i915/i915_selftests: Expose 'perf' selftests Chris Wilson
2019-11-01 14:21 ` [igt-dev] " Chris Wilson
2019-11-01 14:21 ` [Intel-gfx] " Chris Wilson
2019-11-01 15:49 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2019-11-01 17:26 ` [PATCH i-g-t] " Lionel Landwerlin
2019-11-01 17:26   ` [igt-dev] [Intel-gfx] " Lionel Landwerlin
2019-11-01 17:26   ` Lionel Landwerlin
2019-11-01 17:43   ` Chris Wilson
2019-11-01 17:43     ` [igt-dev] [Intel-gfx] " Chris Wilson
2019-11-01 17:43     ` Chris Wilson
2019-11-03  0:17 ` [igt-dev] ✓ Fi.CI.IGT: success for " Patchwork

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.