aboutsummaryrefslogtreecommitdiff
path: root/test/tinytest.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/tinytest.h')
-rw-r--r--test/tinytest.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/tinytest.h b/test/tinytest.h
index ed07b26bc006..d321dd467542 100644
--- a/test/tinytest.h
+++ b/test/tinytest.h
@@ -34,8 +34,11 @@
#define TT_ENABLED_ (1<<2)
/** Flag for a test that's off by default. */
#define TT_OFF_BY_DEFAULT (1<<3)
+/** Flag for a test that should be runned again in case of failure (but not
+ * more then 3 times). */
+#define TT_RETRIABLE (1<<4)
/** If you add your own flags, make them start at this point. */
-#define TT_FIRST_USER_FLAG (1<<4)
+#define TT_FIRST_USER_FLAG (1<<5)
typedef void (*testcase_fn)(void *);