diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-02-21 00:43:44 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-02-21 13:39:37 +0100 |
commit | c0b012f3e1d6b9707b621624a86ff5288a8a4fbc (patch) | |
tree | 371271fd6737467196d9baa41be10e2d611f1bf1 /tests | |
parent | dbebece34e1b2e7373340a62f7177aa5149e7e41 (diff) |
tests/kms_pwrite_crtc: Drop fixtures
Not allowed in igt_simple_main, also really doesn't make any sense,
it's all just one big testcase.
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/kms_pwrite_crc.c | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/tests/kms_pwrite_crc.c b/tests/kms_pwrite_crc.c index ffd72e4a..9bb5a5da 100644 --- a/tests/kms_pwrite_crc.c +++ b/tests/kms_pwrite_crc.c @@ -176,21 +176,17 @@ igt_simple_main { igt_skip_on_simulation(); - igt_fixture { - data.drm_fd = drm_open_driver_master(DRIVER_INTEL); + data.drm_fd = drm_open_driver_master(DRIVER_INTEL); - data.devid = intel_get_drm_devid(data.drm_fd); + data.devid = intel_get_drm_devid(data.drm_fd); - kmstest_set_vt_graphics_mode(); + kmstest_set_vt_graphics_mode(); - igt_require_pipe_crc(data.drm_fd); + igt_require_pipe_crc(data.drm_fd); - igt_display_require(&data.display, data.drm_fd); - } + igt_display_require(&data.display, data.drm_fd); run_test(&data); - igt_fixture { - igt_display_fini(&data.display); - } + igt_display_fini(&data.display); } |