projects
/
platform
/
upstream
/
intel-gpu-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
682f693
)
tests: add missing assertion
author
Thomas Wood
<thomas.wood@intel.com>
Tue, 11 Mar 2014 16:18:48 +0000
(16:18 +0000)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Tue, 11 Mar 2014 20:13:09 +0000
(21:13 +0100)
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/pm_psr.c
patch
|
blob
|
history
diff --git
a/tests/pm_psr.c
b/tests/pm_psr.c
index
def8e12
..
5d28c7a
100644
(file)
--- a/
tests/pm_psr.c
+++ b/
tests/pm_psr.c
@@
-57,6
+57,7
@@
static int get_perf(const char *path)
igt_assert(ret != 0);
enabled = strcmp(str, "yes") == 0;
ret = fscanf(file, "Performance_Counter: %i", &perf);
+ igt_assert(ret != 0);
if (!sink)
igt_skip("This panel does not support PSR.\n");