mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 05:43:02 +00:00
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 <daniel.vetter@intel.com>
This commit is contained in:
@@ -75,10 +75,6 @@ static void test(data_t *data)
|
||||
igt_plane_set_fb(data->primary, fb);
|
||||
igt_display_commit(display);
|
||||
|
||||
/* sanity check to make sure crc changed */
|
||||
igt_pipe_crc_collect_crc(data->pipe_crc, &crc);
|
||||
igt_assert(!igt_crc_equal(&crc, &data->ref_crc));
|
||||
|
||||
/* flip back the original white buffer */
|
||||
igt_plane_set_fb(data->primary, &data->fb[0]);
|
||||
igt_display_commit(display);
|
||||
|
||||
Reference in New Issue
Block a user