diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-10-31 17:02:41 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-11-01 21:10:59 +0100 |
commit | 1f0cf2df85ca3f9d900b21db9c8744a99e8f60a0 (patch) | |
tree | a82e58d0601e8245a835194636cac0a04b5e8709 /tests/kms_setmode.c | |
parent | 0369fe19b8b8e19e0815361b5187eba81cb2d71a (diff) |
lib: make igt_set_vt_graphics_mode never fail
All tests agree that this is a letal failure, so no point
to pass it back to callers.
Also add some igt_require calls for the drm_fd where I've
noticed that it's missing.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/kms_setmode.c')
-rw-r--r-- | tests/kms_setmode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/kms_setmode.c b/tests/kms_setmode.c index 7b222255..6bc7db15 100644 --- a/tests/kms_setmode.c +++ b/tests/kms_setmode.c @@ -702,7 +702,7 @@ int main(int argc, char **argv) igt_fixture { drm_fd = drm_open_any(); if (!dry_run) - do_or_die(igt_set_vt_graphics_mode()); + igt_set_vt_graphics_mode(); drm_resources = drmModeGetResources(drm_fd); assert(drm_resources); |