diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-02-19 08:57:12 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-02-20 13:58:04 +0100 |
commit | 4494052aa3c8f95c2b21acc4a1273fc4431bb71e (patch) | |
tree | 64500cbaa1b1767e0e759b2f3cf0481a656ed192 /lib/tests/igt_can_fail_simple.c | |
parent | 4d0d81a2176227a7432762ae095ba386f3c8aba0 (diff) |
lib/tests: Add header for common helpers
Start with internal_assert, more will follow. While at it, use
internal_assert everywhere (except where we check exit status, those
will get dedicated assert checks).
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'lib/tests/igt_can_fail_simple.c')
-rw-r--r-- | lib/tests/igt_can_fail_simple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tests/igt_can_fail_simple.c b/lib/tests/igt_can_fail_simple.c index 0d9f6dd4..8ff43d15 100644 --- a/lib/tests/igt_can_fail_simple.c +++ b/lib/tests/igt_can_fail_simple.c @@ -22,11 +22,11 @@ * */ -#include <assert.h> #include "igt_core.h" +#include "igt_tests_common.h" igt_simple_main { - assert(igt_can_fail()); + internal_assert(igt_can_fail()); } |