summaryrefslogtreecommitdiff
path: root/pk.h.in
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-10-16 12:15:59 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-10-16 13:45:09 -0400
commit9371874907c042b587b5b9598b82946138d3bf75 (patch)
treef3bb5e69c4463f8f3b519a31a2d036402490cdfb /pk.h.in
parente088dc7df320eee30903ae713d574b9d16ad1407 (diff)
pktst: created + bump pk.h version to 0.9.4
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