mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 01:16:18 +00:00
tests/kms_flip: fix igt_assert
I've blown the conversion in commit 37e5b318c5dac290611099e2eec21df1e49fa71f Author: Daniel Vetter <daniel.vetter@ffwll.ch> Date: Fri Oct 4 18:42:26 2013 +0200 tests/kms_flip: use igt_assert more Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70332 Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
98a2b5b01f
commit
a5d40a9bf2
@ -841,7 +841,7 @@ static unsigned int run_test_step(struct test_output *o)
|
||||
set_dpms(o, DRM_MODE_DPMS_OFF);
|
||||
|
||||
if (o->flags & TEST_MODESET && !(o->flags & TEST_RMFB))
|
||||
igt_assert_f(set_mode(o, 0 /* no fb */, 0, 0),
|
||||
igt_assert_f(set_mode(o, 0 /* no fb */, 0, 0) == 0,
|
||||
"failed to disable output: %s\n",
|
||||
strerror(errno));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user