summaryrefslogtreecommitdiff
path: root/lib/igt_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/igt_core.h')
-rw-r--r--lib/igt_core.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/igt_core.h b/lib/igt_core.h
index 3a6ee1a4..f7f7015a 100644
--- a/lib/igt_core.h
+++ b/lib/igt_core.h
@@ -37,6 +37,28 @@
#include <sys/types.h>
#include <stdarg.h>
+/**
+ * IGT_EXIT_TIMEOUT:
+ *
+ * Exit status indicating a timeout occurred.
+ */
+#define IGT_EXIT_TIMEOUT 78
+
+/**
+ * IGT_EXIT_SKIP:
+ *
+ * Exit status indicating the test was skipped.
+ */
+#define IGT_EXIT_SKIP 77
+
+/**
+ * IGT_EXIT_SUCCESS
+ *
+ * Exit status indicating the test executed successfully.
+ */
+#define IGT_EXIT_SUCCESS 0
+
+
bool __igt_fixture(void);
void __igt_fixture_complete(void);
void __igt_fixture_end(void) __attribute__((noreturn));