From 9371874907c042b587b5b9598b82946138d3bf75 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 16 Oct 2025 12:15:59 -0400 Subject: pktst: created + bump pk.h version to 0.9.4 --- pk.h.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'pk.h.in') 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 -- cgit v1.2.3