summaryrefslogtreecommitdiff
path: root/tests/testdisplay.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-22 19:27:04 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-03-22 19:39:46 +0100
commit0e22f14ed642af94db5f0dd7461920274be3361a (patch)
tree9330d305d9138437634c84721e30671aa4ecd9db /tests/testdisplay.c
parentbff22f7317a39605d53cf142e2c0f5c424d9c12c (diff)
tests|lib: remove assert.h includes
Only the igt core and non-test tools should have asserts to catch internal errors, tests and helper libraries should all user igt_asert instead. Fix things up where assert instead of igt_assert was used. One tiny step towards header sanity. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/testdisplay.c')
-rw-r--r--tests/testdisplay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testdisplay.c b/tests/testdisplay.c
index e667ab95..d0cd5123 100644
--- a/tests/testdisplay.c
+++ b/tests/testdisplay.c
@@ -504,7 +504,7 @@ static void stereo_fb_layout_from_mode(struct stereo_fb_layout *layout,
break;
}
default:
- assert(0);
+ igt_assert(0);
}
}
@@ -520,7 +520,7 @@ static const char *stereo_mode_str(drmModeModeInfo *mode)
case DRM_MODE_FLAG_3D_FRAME_PACKING:
return "FP";
default:
- assert(0);
+ igt_assert(0);
}
}