tests: Use igt_exit for tests with subtest
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 29 Oct 2013 10:15:43 +0000 (11:15 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 29 Oct 2013 10:15:43 +0000 (11:15 +0100)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
tests/debugfs_pipe_crc.c
tests/gem_mmap.c
tests/gem_storedw_batches_loop.c

index 6a3e9dc..1bb34dc 100644 (file)
@@ -268,5 +268,5 @@ int main(int argc, char **argv)
                fclose(data.ctl);
        }
 
-       return 0;
+       igt_exit();
 }
index 9c3391e..c812a5b 100644 (file)
@@ -97,5 +97,5 @@ int main(int argc, char **argv)
        igt_fixture
                close(fd);
 
-       return 0;
+       igt_exit();
 }
index d6cd216..eabc6f2 100644 (file)
@@ -167,5 +167,5 @@ int main(int argc, char **argv)
                close(fd);
        }
 
-       return 0;
+       igt_exit();
 }