summaryrefslogtreecommitdiff
path: root/tests/gem_exec_blt.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-04-02 20:14:07 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-04-02 20:17:16 +0100
commite8457edba6c41c4d44758e28adabf864be764c00 (patch)
tree78fd77717e20db026f2082845dec9cadc56c62d4 /tests/gem_exec_blt.c
parent8938e1ed474bc4eb6598d5da01bb7001d4e9627d (diff)
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 <chris@chris-wilson.co.uk>
Diffstat (limited to 'tests/gem_exec_blt.c')
-rw-r--r--tests/gem_exec_blt.c2
1 files changed, 1 insertions, 1 deletions
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 {