From a535cdedfbd280c5e07be1c2445e09973836509a Mon Sep 17 00:00:00 2001 From: Daniel Vetter Date: Mon, 17 Nov 2014 14:43:33 +0100 Subject: 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 --- tests/gem_tiled_blits.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/gem_tiled_blits.c') diff --git a/tests/gem_tiled_blits.c b/tests/gem_tiled_blits.c index 02a46958..76d256f4 100644 --- a/tests/gem_tiled_blits.c +++ b/tests/gem_tiled_blits.c @@ -218,7 +218,7 @@ int main(int argc, char **argv) count = 3 * gem_aperture_size(fd) / (1024*1024) / 2; count += (count & 1) == 0; - igt_require(intel_check_memory(count, 1024*1024, CHECK_RAM)); + intel_require_memory(count, 1024*1024, CHECK_RAM); run_test(count); } @@ -230,7 +230,7 @@ int main(int argc, char **argv) count = 3 * gem_aperture_size(fd) / (1024*1024) / 2; count += (count & 1) == 0; - igt_require(intel_check_memory(count, 1024*1024, CHECK_RAM)); + intel_require_memory(count, 1024*1024, CHECK_RAM); igt_fork_signal_helper(); run_test(count); -- cgit v1.2.3