summaryrefslogtreecommitdiffstats
path: root/tests/include/test.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/include/test.h')
-rw-r--r--tests/include/test.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/include/test.h b/tests/include/test.h
index 88ac16d93..ef0b9a6f6 100644
--- a/tests/include/test.h
+++ b/tests/include/test.h
@@ -31,6 +31,9 @@
#define MOCK_FD (0x10ec)
+#define SKIP_TEST(name) \
+ void name (void **state) { skip(); }
+
/*
* Having this as function allows to set a breakpoint on the address,
* as it has a named symbol associated with the address number.