summaryrefslogtreecommitdiff
path: root/tests/gem_persistent_relocs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_persistent_relocs.c')
-rw-r--r--tests/gem_persistent_relocs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_persistent_relocs.c b/tests/gem_persistent_relocs.c
index cab52a87..a6ae3863 100644
--- a/tests/gem_persistent_relocs.c
+++ b/tests/gem_persistent_relocs.c
@@ -105,7 +105,7 @@ static drm_intel_bo *create_special_bo(void)
BATCH(CMD_POLY_STIPPLE_OFFSET << 16);
BATCH(0);
}
- igt_assert(len % 2 == 0);
+ igt_assert_eq(len % 2, 0);
BATCH(MI_NOOP);
BATCH(MI_BATCH_BUFFER_END);