Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t] i915/i915_selftests: Expose 'perf' selftests
@ 2019-11-01 14:21 Chris Wilson
  2019-11-01 15:49 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ 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

_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev

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

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

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox