diff options
author | Petri Latvala <petri.latvala@intel.com> | 2019-05-23 15:27:24 +0300 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2019-05-27 12:47:43 +0300 |
commit | 3d27f3e3173104e657199a1a3f104cf569bf4c7c (patch) | |
tree | 668a1acfeafdee39e763f76b01da093e801a9b09 /tests/kms_tv_load_detect.c | |
parent | 061f03ccca2372130456e3bd10038bdaa7e9341c (diff) |
kms_tv_load_detect: 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_tv_load_detect.c')
-rw-r--r-- | tests/kms_tv_load_detect.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/kms_tv_load_detect.c b/tests/kms_tv_load_detect.c index 012d0629..89f587d5 100644 --- a/tests/kms_tv_load_detect.c +++ b/tests/kms_tv_load_detect.c @@ -26,15 +26,13 @@ IGT_TEST_DESCRIPTION("Check tv load detection works correctly."); -int main(int argc, char **argv) +igt_main { /* force the VGA output and test that it worked */ int drm_fd = 0; drmModeRes *res; drmModeConnector *tv_connector = NULL, *temp; - igt_subtest_init(argc, argv); - igt_fixture { drm_fd = drm_open_driver_master(DRIVER_INTEL); @@ -87,6 +85,4 @@ int main(int argc, char **argv) drmModeFreeConnector(tv_connector); close(drm_fd); } - - igt_exit(); } |