Signed-off-by: Damien Lespiau <damien.lespiau@xxxxxxxxx> --- lib/igt_core.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/igt_core.h b/lib/igt_core.h index d79f6d2..f5c7194 100644 --- a/lib/igt_core.h +++ b/lib/igt_core.h @@ -367,6 +367,14 @@ void igt_exit(void) __attribute__((noreturn)); * of simply printing the stringified expression. */ #define igt_assert_eq(n1, n2) igt_assert_cmpint(n1, ==, !=, n2) + +/** + * igt_assert_eq_u32: + * @n1: first integer + * @n2: second integer + * + * Like igt_assert_eq(), but for uint32_t. + */ #define igt_assert_eq_u32(n1, n2) igt_assert_cmpuint(n1, ==, !=, n2) /** -- 2.1.0 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx