summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaulo Zanoni <paulo.r.zanoni@intel.com>2014-02-26 16:51:12 -0300
committerPaulo Zanoni <paulo.r.zanoni@intel.com>2014-02-26 19:16:38 -0300
commitfa6b1516c5a5be1fcff8ee476a5e280e2e3cb16d (patch)
treee95d2aa9f4f08b4985feb612096e33c8367d93a5 /tests
parentd406249bedb61120ea3f8c780ea995b8c70d3d8c (diff)
tests/pm_pc8: be more verbose on test_i2c failures
Whenever I see that error, I go and print the numbers so I can check which one is failing. Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/pm_pc8.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/pm_pc8.c b/tests/pm_pc8.c
index 53c1be30..5c74b234 100644
--- a/tests/pm_pc8.c
+++ b/tests/pm_pc8.c
@@ -633,7 +633,8 @@ 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(i2c_edids == drm_edids);
+ igt_assert_f(i2c_edids == drm_edids, "i2c:%d drm:%d", i2c_edids,
+ drm_edids);
}
static void setup_runtime_pm(void)