mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-13 08:20:40 -04:00
drm/i915/selftests: Include the subsubtest name for live_parallel_engines
Include the name of the failing subsubtest, should it fails. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matthew Auld <matthew.auld@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20191123191547.925360-1-chris@chris-wilson.co.uk
This commit is contained in:
@@ -1214,10 +1214,12 @@ static int live_parallel_engines(void *arg)
|
||||
return -ENOMEM;
|
||||
|
||||
for (fn = func; !err && *fn; fn++) {
|
||||
char name[KSYM_NAME_LEN];
|
||||
struct igt_live_test t;
|
||||
unsigned int idx;
|
||||
|
||||
err = igt_live_test_begin(&t, i915, __func__, "");
|
||||
snprintf(name, sizeof(name), "%pS", fn);
|
||||
err = igt_live_test_begin(&t, i915, __func__, name);
|
||||
if (err)
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user