summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/kms_pwrite_crc.c16
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);
}