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

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


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

diff --git a/tests/i915/gem_render_copy_redux.c b/tests/i915/gem_render_copy_redux.c
index 24b838ba..ef601c22 100644
--- a/tests/i915/gem_render_copy_redux.c
+++ b/tests/i915/gem_render_copy_redux.c
@@ -202,12 +202,10 @@ static void copy_flink(data_t *data)
 	data_fini(&local);
 }
 
-int main(int argc, char **argv)
+igt_main
 {
 	data_t data = {0, };
 
-	igt_subtest_init(argc, argv);
-
 	igt_fixture {
 		data_init(&data);
 		igt_require_gem(data.fd);
@@ -240,6 +238,4 @@ int main(int argc, char **argv)
 			copy_flink(&data);
 		igt_stop_signal_helper();
 	}
-
-	igt_exit();
 }
-- 
2.19.1



More information about the igt-dev mailing list