From e8457edba6c41c4d44758e28adabf864be764c00 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 2 Apr 2015 20:14:07 +0100 Subject: [PATCH] igt/gem_exec_blt: Prevent assertion failure when running as a test load gem_exec_blt is used by other scripts to provide a background load, for example by drv_missed_irq. This mode doesn't act like a normal test and igt complains bitterly about it. Let's just ignore igt here. References: https://bugs.freedesktop.org/show_bug.cgi?id=88041 Signed-off-by: Chris Wilson --- tests/gem_exec_blt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gem_exec_blt.c b/tests/gem_exec_blt.c index 820478c9..151e4483 100644 --- a/tests/gem_exec_blt.c +++ b/tests/gem_exec_blt.c @@ -381,7 +381,7 @@ int main(int argc, char **argv) if (object_size) run((object_size + 3) & -4, false); } - return 0; + _exit(0); /* blergh */ } igt_fixture {