aboutsummaryrefslogtreecommitdiff
path: root/utest/Makefile
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2026-10-15 22:51:45 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2026-10-15 22:51:45 +0300
commit662c7c620e6db915c5705bd0afa84925bb84704d (patch)
tree3179c8fc3a8c36b2461e9dc6572ac5812d3a6112 /utest/Makefile
parent491216939bd9824cc0da6d7ca7d7108595cb691d (diff)
downloadc-wares-662c7c620e6db915c5705bd0afa84925bb84704d.tar.gz
c-wares-662c7c620e6db915c5705bd0afa84925bb84704d.zip
utest: v2, now with more isolationHEADmaster
* 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!
Diffstat (limited to 'utest/Makefile')
-rw-r--r--utest/Makefile2
1 files changed, 1 insertions, 1 deletions
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