summaryrefslogtreecommitdiff
path: root/tests/gem_exec_faulting_reloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/gem_exec_faulting_reloc.c')
-rw-r--r--tests/gem_exec_faulting_reloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_exec_faulting_reloc.c b/tests/gem_exec_faulting_reloc.c
index 9f121126..8b780a6e 100644
--- a/tests/gem_exec_faulting_reloc.c
+++ b/tests/gem_exec_faulting_reloc.c
@@ -70,7 +70,7 @@ static int gem_linear_blt(uint32_t *batch,
uint32_t *b = batch;
int height = length / (16 * 1024);
- igt_assert(height <= 1<<16);
+ igt_assert_lte(height, 1 << 16);
if (height) {
int i = 0;