mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-24 06:43:01 +00:00
lib/drmtest: add igt_subtest_name and use it in kms_flip
Useful when the testname is constructed with igt_subtest_f. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
@@ -739,6 +739,11 @@ bool __igt_run_subtest(const char *subtest_name)
|
||||
}
|
||||
}
|
||||
|
||||
const char *igt_subtest_name(void)
|
||||
{
|
||||
return in_subtest;
|
||||
}
|
||||
|
||||
bool igt_only_list_subtests(void)
|
||||
{
|
||||
return list_subtests;
|
||||
|
||||
Reference in New Issue
Block a user