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

Petri Latvala petri.latvala at intel.com
Thu May 23 12:26:57 UTC 2019


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

diff --git a/tests/i915/gem_linear_blits.c b/tests/i915/gem_linear_blits.c
index 6afa4e9c..a5359288 100644
--- a/tests/i915/gem_linear_blits.c
+++ b/tests/i915/gem_linear_blits.c
@@ -220,12 +220,10 @@ static void run_test(int fd, int count)
 
 #define MAX_32b ((1ull << 32) - 4096)
 
-int main(int argc, char **argv)
+igt_main
 {
 	int fd = 0;
 
-	igt_subtest_init(argc, argv);
-
 	igt_fixture {
 		fd = drm_open_driver(DRIVER_INTEL);
 		igt_require_gem(fd);
@@ -261,6 +259,4 @@ int main(int argc, char **argv)
 		run_test(fd, count);
 		igt_stop_signal_helper();
 	}
-
-	igt_exit();
 }
-- 
2.19.1



More information about the igt-dev mailing list