summaryrefslogtreecommitdiff
path: root/tests/i915/i915_selftest.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2019-11-01 14:19:18 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2019-11-02 14:41:32 +0000
commit6237a45d8699b2ccb4512e222ce6c94a1c77f83b (patch)
tree4818a6cffb8eebc6fafa37e9f45c1ae84f4d7611 /tests/i915/i915_selftest.c
parentc8a88b614ac057b01809a17b9e87a197195b44ad (diff)
i915/i915_selftests: Expose 'perf' selftests
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> Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Diffstat (limited to 'tests/i915/i915_selftest.c')
-rw-r--r--tests/i915/i915_selftest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/i915/i915_selftest.c b/tests/i915/i915_selftest.c
index 6d597e68..abc8c9c7 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");
}