diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-05-15 17:02:39 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-05-16 10:29:49 +0200 |
commit | 7357639397fd7457149329494f615bb0053b9036 (patch) | |
tree | ea0abdb192a7b7d911230eb546728bc8f4e9febd | |
parent | 5e83f0444d0fcef2d5996ef12f9cf1593ccd8f78 (diff) |
tests/pm_pc8: Use igt_assert_cmpint
More pretty!
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r-- | tests/pm_pc8.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/pm_pc8.c b/tests/pm_pc8.c index d3635037..323e0729 100644 --- 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) |