diff options
author | Petri Latvala <petri.latvala@intel.com> | 2019-05-23 15:27:16 +0300 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2019-05-27 12:47:43 +0300 |
commit | 43a590dc563fc33d013e8990834caf7e4eadb498 (patch) | |
tree | e99bd857ace04a3429c91bb3dbef31e0b56bf2e7 /tests/kms_flip.c | |
parent | daf72d1094a96b3eb8a61dfcd0c35ca2375147bf (diff) |
kms_flip: Nuke custom main function
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'tests/kms_flip.c')
-rwxr-xr-x | tests/kms_flip.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/tests/kms_flip.c b/tests/kms_flip.c index 8c17c8da..d7c1f9cf 100755 --- a/tests/kms_flip.c +++ b/tests/kms_flip.c @@ -1481,7 +1481,7 @@ static void test_nonblocking_read(int in) close(fd); } -int main(int argc, char **argv) +igt_main { struct { int duration; @@ -1530,8 +1530,6 @@ int main(int argc, char **argv) }; int i; - igt_subtest_init(argc, argv); - igt_fixture { drm_fd = drm_open_driver_master(DRIVER_ANY); @@ -1591,11 +1589,4 @@ int main(int argc, char **argv) run_pair(tests[i].duration, tests[i].flags); } igt_stop_signal_helper(); - - /* - * Let drm_fd leak, since it's needed by the dpms restore - * exit_handler and igt_exit() won't return. - */ - - igt_exit(); } |