projects
/
profile
/
extras
/
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:
5e83f04
)
tests/pm_pc8: Use igt_assert_cmpint
author
Daniel Vetter
<daniel.vetter@ffwll.ch>
Thu, 15 May 2014 15:02:39 +0000
(17:02 +0200)
committer
Daniel Vetter
<daniel.vetter@ffwll.ch>
Fri, 16 May 2014 08:29:49 +0000
(10:29 +0200)
More pretty!
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/pm_pc8.c
patch
|
blob
|
history
diff --git
a/tests/pm_pc8.c
b/tests/pm_pc8.c
index
d363503
..
323e072
100644
(file)
--- a/
tests/pm_pc8.c
+++ b/
tests/pm_pc8.c
@@
-605,8
+605,7
@@
static void test_i2c(struct mode_set_data *data)
int i2c_edids = count_i2c_valid_edids();
int drm_edids = count_drm_valid_edids(data);
- igt_assert_f(i2c_edids == drm_edids, "i2c:%d drm:%d\n", i2c_edids,
- drm_edids);
+ igt_assert_cmpint(i2c_edids, ==, drm_edids);
}
static void setup_pc8(void)