[igt-dev] [PATCH i-g-t 13/36] i915/gem_request_retire: Nuke custom main function

Petri Latvala petri.latvala at intel.com
Thu May 23 12:27:04 UTC 2019


Signed-off-by: Petri Latvala <petri.latvala at intel.com>
---
 tests/i915/gem_request_retire.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/tests/i915/gem_request_retire.c b/tests/i915/gem_request_retire.c
index ea1c7327..304882e2 100644
--- a/tests/i915/gem_request_retire.c
+++ b/tests/i915/gem_request_retire.c
@@ -220,10 +220,8 @@ test_retire_vma_not_inactive(int fd)
 
 int fd;
 
-int main(int argc, char **argv)
+igt_main
 {
-	igt_subtest_init(argc, argv);
-
 	igt_fixture {
 		fd = drm_open_driver(DRIVER_INTEL);
 		igt_require_gem(fd);
@@ -233,6 +231,4 @@ int main(int argc, char **argv)
 
 	igt_subtest("retire-vma-not-inactive")
 		test_retire_vma_not_inactive(fd);
-
-	igt_exit();
 }
-- 
2.19.1



More information about the igt-dev mailing list