From fa6b1516c5a5be1fcff8ee476a5e280e2e3cb16d Mon Sep 17 00:00:00 2001 From: Paulo Zanoni Date: Wed, 26 Feb 2014 16:51:12 -0300 Subject: [PATCH] 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 --- tests/pm_pc8.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)