From 562bbe12f6fb75811a746c742a28d32a17b26aa9 Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Fri, 27 Feb 2015 22:04:18 +0100 Subject: tests: Remove usage of igt_crc_equal and _non_null Tests should positively check for crc matches, not for mismatches. Enforce this by only exposing and igt_assert function for comparing crcs. For the few tests which didn't just do this as consistency checks but to do functional tests add FIXME comments that some reference crc values are missing. Signed-off-by: Daniel Vetter --- tests/kms_plane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/kms_plane.c') diff --git a/tests/kms_plane.c b/tests/kms_plane.c index f71045eb..dc83a89a 100644 --- a/tests/kms_plane.c +++ b/tests/kms_plane.c @@ -209,7 +209,7 @@ test_plane_position_with_output(data_t *data, if (flags & TEST_POSITION_FULLY_COVERED) igt_assert_crc_equal(&test.reference_crc, &crc); else - igt_assert(!igt_crc_equal(&test.reference_crc, &crc)); + ;/* FIXME: missing reference CRCs */ igt_assert_crc_equal(&crc, &crc2); -- cgit v1.2.3