Re: [PATCH i-g-t] i915/i915_selftests: Expose 'perf' selftests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 01/11/2019 16:21, Chris Wilson wrote:
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@xxxxxxxxxxxxxxxxxx>
Cc: Matthew Auld <matthew.auld@xxxxxxxxx>
Cc: Tomi Sarvela <tomi.p.sarvela@xxxxxxxxx>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@xxxxxxxxx>
---
  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");
  }


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




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux