summaryrefslogtreecommitdiff
path: root/tests/eviction_common.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-09-30 17:41:01 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2016-09-30 18:26:28 +0100
commit91d3780aa5a3a2fc742d9f1f6d429e90012b5c4f (patch)
tree7e207c4c6cf1b2e0aef54994b5ecc8b2c3571af9 /tests/eviction_common.c
parent2b5a2615475e902aba91d31a8426516b401c43b4 (diff)
igt/gem_userptr_blits: Tidy up the debug spam
igt_subtest_group { /* to the request */ } Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97934
Diffstat (limited to 'tests/eviction_common.c')
-rw-r--r--tests/eviction_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/eviction_common.c b/tests/eviction_common.c
index c8bfe8eb..e39555de 100644
--- a/tests/eviction_common.c
+++ b/tests/eviction_common.c
@@ -91,7 +91,7 @@ static int minor_evictions(int fd, struct igt_eviction_test_ops *ops,
igt_assert_eq(ret, 0);
}
ret = ops->copy(fd, bo[0], bo[0], bo, total_surfaces);
- igt_assert(ret == ENOSPC);
+ igt_assert_eq(ret, -ENOSPC);
}
for (n = 0; n < total_surfaces; n++)