summaryrefslogtreecommitdiff
path: root/unittests/unittest.h
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/unittest.h')
-rw-r--r--unittests/unittest.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/unittests/unittest.h b/unittests/unittest.h
new file mode 100644
index 00000000..4ac6366b
--- /dev/null
+++ b/unittests/unittest.h
@@ -0,0 +1,15 @@
+#ifndef FIO_UNITTEST_H
+#define FIO_UNITTEST_H
+
+#include <CUnit/CUnit.h>
+#include <CUnit/Basic.h>
+
+struct fio_unittest_entry {
+ const char *name;
+ CU_TestFunc fn;
+};
+
+CU_ErrorCode fio_unittest_add_suite(const char*, CU_InitializeFunc,
+ CU_CleanupFunc, struct fio_unittest_entry*);
+
+#endif