summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-29 11:15:43 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-10-29 11:15:43 +0100
commit780807099a482fdcbaea40af7117127b6d92beae (patch)
treef73cb4b0040fa7451551d6d28e6428bea55aa0ca
parentccb1b5888dd18a8227a4e09a5674abca15931c87 (diff)
tests: Use igt_exit for tests with subtest
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--tests/debugfs_pipe_crc.c2
-rw-r--r--tests/gem_mmap.c2
-rw-r--r--tests/gem_storedw_batches_loop.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/debugfs_pipe_crc.c b/tests/debugfs_pipe_crc.c
index 6a3e9dc5..1bb34dc6 100644
--- a/tests/debugfs_pipe_crc.c
+++ b/tests/debugfs_pipe_crc.c
@@ -268,5 +268,5 @@ int main(int argc, char **argv)
fclose(data.ctl);
}
- return 0;
+ igt_exit();
}
diff --git a/tests/gem_mmap.c b/tests/gem_mmap.c
index 9c3391e4..c812a5b9 100644
--- a/tests/gem_mmap.c
+++ b/tests/gem_mmap.c
@@ -97,5 +97,5 @@ int main(int argc, char **argv)
igt_fixture
close(fd);
- return 0;
+ igt_exit();
}
diff --git a/tests/gem_storedw_batches_loop.c b/tests/gem_storedw_batches_loop.c
index d6cd216f..eabc6f26 100644
--- a/tests/gem_storedw_batches_loop.c
+++ b/tests/gem_storedw_batches_loop.c
@@ -167,5 +167,5 @@ int main(int argc, char **argv)
close(fd);
}
- return 0;
+ igt_exit();
}