summaryrefslogtreecommitdiff
path: root/include/test/lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/test/lib.h')
-rw-r--r--include/test/lib.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/test/lib.h b/include/test/lib.h
new file mode 100644
index 0000000..04b6241
--- /dev/null
+++ b/include/test/lib.h
@@ -0,0 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (c) 2019 Heinrich Schuchardt <xypron.glpk@gmx.de>
+ */
+
+#ifndef __TEST_LIB_H__
+#define __TEST_LIB_H__
+
+#include <test/test.h>
+
+/* Declare a new library function test */
+#define LIB_TEST(_name, _flags) UNIT_TEST(_name, _flags, lib_test)
+
+#endif /* __TEST_LIB_H__ */