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>
This commit is contained in:
Paulo Zanoni 2014-02-26 16:51:12 -03:00
parent d406249bed
commit fa6b1516c5

View File

@ -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)