summaryrefslogtreecommitdiff
path: root/tests/kms_pipe_crc_basic.c
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2015-12-14 00:55:11 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2016-01-08 19:59:10 +0200
commit39aecb05d5c608cb7916fe376341de1828945167 (patch)
treebd0379762616fbffa9c93bc63ee561ebbdd6228c /tests/kms_pipe_crc_basic.c
parent7ff8223d44b875e0eec02f32b9fce8baeca689a3 (diff)
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>
Diffstat (limited to 'tests/kms_pipe_crc_basic.c')
-rw-r--r--tests/kms_pipe_crc_basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index 11d6ff90..3c51ba04 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -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);