summaryrefslogtreecommitdiff
path: root/tests/gem_cpu_reloc.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-11-17 14:43:33 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-11-17 14:43:33 +0100
commita535cdedfbd280c5e07be1c2445e09973836509a (patch)
tree22239380a3016c00a09249c9d4c5c0f32bf16055 /tests/gem_cpu_reloc.c
parentaa63fc740c510ed44c1a8dc0fc00f0c92c0581a2 (diff)
lib/os: Pust igt_require into memory check function
More in line with the usual igt pattern and simplifies the code - every called just wrapped it in igt_require. Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'tests/gem_cpu_reloc.c')
-rw-r--r--tests/gem_cpu_reloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_cpu_reloc.c b/tests/gem_cpu_reloc.c
index e7e0fc73..1413ebfc 100644
--- a/tests/gem_cpu_reloc.c
+++ b/tests/gem_cpu_reloc.c
@@ -183,7 +183,7 @@ igt_simple_main
if (igt_run_in_simulation())
count = 10;
- igt_require(intel_check_memory(1+count, 4096, CHECK_RAM));
+ intel_require_memory(1+count, 4096, CHECK_RAM);
handles = malloc (count * sizeof(uint32_t));
igt_assert(handles);