mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-26 09:16:34 +00:00
tests: add missing assertion
Signed-off-by: Thomas Wood <thomas.wood@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
682f69385a
commit
6c659264a6
@ -57,6 +57,7 @@ static int get_perf(const char *path)
|
|||||||
igt_assert(ret != 0);
|
igt_assert(ret != 0);
|
||||||
enabled = strcmp(str, "yes") == 0;
|
enabled = strcmp(str, "yes") == 0;
|
||||||
ret = fscanf(file, "Performance_Counter: %i", &perf);
|
ret = fscanf(file, "Performance_Counter: %i", &perf);
|
||||||
|
igt_assert(ret != 0);
|
||||||
|
|
||||||
if (!sink)
|
if (!sink)
|
||||||
igt_skip("This panel does not support PSR.\n");
|
igt_skip("This panel does not support PSR.\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user