[Intel-gfx] [PATCH i-g-t 7/7] tests/kms_pipe_crc_basic: Use igt_assert_eq() to see the failing frame counts
ville.syrjala at linux.intel.com
ville.syrjala at linux.intel.com
Mon Dec 14 12:15:56 PST 2015
From: Ville Syrjälä <ville.syrjala at linux.intel.com>
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 at linux.intel.com>
---
tests/kms_pipe_crc_basic.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/kms_pipe_crc_basic.c b/tests/kms_pipe_crc_basic.c
index a3292c225203..bfb14780fa72 100644
--- a/tests/kms_pipe_crc_basic.c
+++ b/tests/kms_pipe_crc_basic.c
@@ -176,7 +176,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);
--
2.4.10
More information about the Intel-gfx
mailing list