mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-28 18:26:17 +00:00
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:
parent
7ff8223d44
commit
39aecb05d5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user