tests/kms_pipe_crc_basic: Use igt_assert_eq() to see the failing frame counts

Use igt_assert_eq() to compare the frame numbers during the frame
sequence tests so that we'll see exactly what the bad frame counts
are when the test fails.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
This commit is contained in:
Ville Syrjälä 2015-12-14 00:55:11 +02:00
parent 7ff8223d44
commit 39aecb05d5

View File

@ -194,7 +194,7 @@ test_read_crc_for_output(data_t *data, int pipe, igt_output_t *output,
if (flags & TEST_SEQUENCE)
for (j = 0; j < (n_crcs - 1); j++)
igt_assert(crcs[j].frame + 1 == crcs[j + 1].frame);
igt_assert_eq(crcs[j].frame + 1, crcs[j + 1].frame);
free(crcs);
igt_pipe_crc_free(pipe_crc);