From 662c7c620e6db915c5705bd0afa84925bb84704d Mon Sep 17 00:00:00 2001 From: Yaroslav de la Peña Smirnov Date: Thu, 15 Oct 2026 22:51:45 +0300 Subject: utest: v2, now with more isolation * C23 required. * Less macro voodoo magic. * The test declaration API changed. * Now there's a test type with the test data. * Now it's possible to set a time out for each test. * It's now also possible to initialize data for each test separately. * More importantly, each test is now isolated in its own process, so that we beautifully report a crash and continue with the rest. * Still less than 500loc even with all the comments! --- utest/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utest/Makefile') diff --git a/utest/Makefile b/utest/Makefile index 0ecb1c5..3cecbd1 100644 --- a/utest/Makefile +++ b/utest/Makefile @@ -1,5 +1,5 @@ CC?=gcc -CFLAGS+=-Wall -Werror -Wno-unused -std=gnu11 -Og -g +CFLAGS+=-Wall -Werror -Wno-unused -std=c23 -Og -g all: $(CC) $(CFLAGS) -o utest-test utest-test.c -- cgit v1.3.1