summaryrefslogtreecommitdiff
path: root/pk.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'pk.h.in')
-rw-r--r--pk.h.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/pk.h.in b/pk.h.in
index 7e95dd7..fcbbe32 100644
--- a/pk.h.in
+++ b/pk.h.in
@@ -288,6 +288,18 @@
* }
* ```
*
+********************************************************************************
+* pktst.h: define PK_IMPL_TST before including pk.h to enable ad-hoc.
+*
+* Provides a simple testing framework
+*
+* Examples:
+* ```c
+* main() {
+* pk_test_run_test_groups(&my_get_test_group_func, 1);
+* }
+* ```
+*
*******************************************************************************/
#define PK_VERSION "@@PK_VERSION@@"
@@ -320,4 +332,7 @@
# ifndef PK_IMPL_FUNCINSTR
# define PK_IMPL_FUNCINSTR
# endif
+# ifndef PK_IMPL_TST
+# define PK_IMPL_TST
+# endif
#endif