diff options
author | Daniel Stone <daniels@collabora.com> | 2015-10-01 14:16:48 +0100 |
---|---|---|
committer | Daniel Stone <daniels@collabora.com> | 2015-11-03 19:46:11 +0000 |
commit | de7ccdd083579c82a1be0c028acf38617fb8c2ca (patch) | |
tree | 07154ee59791a7fadc2e70199e4b7d0c677681e2 /tests/kms_rotation_crc.c | |
parent | f735015ed36f1e188d1107fd6b0969801df17c86 (diff) |
tests: Run igt.cocci
Signed-off-by: Daniel Stone <daniels@collabora.com>
Diffstat (limited to 'tests/kms_rotation_crc.c')
-rw-r--r-- | tests/kms_rotation_crc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/kms_rotation_crc.c b/tests/kms_rotation_crc.c index ed6eeefd..cc0d6294 100644 --- a/tests/kms_rotation_crc.c +++ b/tests/kms_rotation_crc.c @@ -268,9 +268,9 @@ static void test_plane_rotation(data_t *data, enum igt_plane plane_type) igt_plane_set_rotation(plane, data->rotation); ret = igt_display_try_commit2(display, commit); if (data->override_fmt || data->override_tiling) { - igt_assert(ret == -EINVAL); + igt_assert_eq(ret, -EINVAL); } else { - igt_assert(ret == 0); + igt_assert_eq(ret, 0); igt_pipe_crc_collect_crc(data->pipe_crc, &crc_output); igt_assert_crc_equal(&data->ref_crc, |