summaryrefslogtreecommitdiff
path: root/lib/tests/igt_assert.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/igt_assert.c')
-rw-r--r--lib/tests/igt_assert.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/tests/igt_assert.c b/lib/tests/igt_assert.c
index 0082fda1..e3c1ec49 100644
--- a/lib/tests/igt_assert.c
+++ b/lib/tests/igt_assert.c
@@ -22,7 +22,6 @@
*
*/
-#include <assert.h>
#include <errno.h>
#include <float.h>
#include <limits.h>
@@ -36,13 +35,7 @@
#include "igt_core.h"
-/*
- * We need to hide assert from the cocci igt test refactor spatch.
- *
- * IMPORTANT: Test infrastructure tests are the only valid places where using
- * assert is allowed.
- */
-#define internal_assert assert
+#include "igt_tests_common.h"
char test[] = "test";
char *argv_run[] = { test };