From e8f0cd374b0ba180c557272f8f3aeace95a7a19c Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 21 Mar 2026 13:47:47 +0200 Subject: [PATCH] Improve testing --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2fe3166..7e6285c 100644 --- a/Makefile +++ b/Makefile @@ -30,10 +30,13 @@ build: retropikzel/${LIBRARY}/LICENSE retropikzel/${LIBRARY}/VERSION echo "
$$(cat retropikzel/${LIBRARY}/README.md)
" > ${README} snow-chibi package --always-yes --version=${VERSION} --authors=${AUTHOR} --doc=${README} --description="${DESCRIPTION}" ${LIBRARY_FILE} +index: + snow-chibi index ${PKG} + install: snow-chibi install --impls=${SCHEME} --always-yes ${PKG} -test: build +test: index build rm -rf .tmp mkdir -p .tmp # R6RS testfiles @@ -45,7 +48,8 @@ test: build # Tests cd .tmp && ${SNOW} srfi.64 cd .tmp && ${SNOW} retropikzel.ctrf - cd .tmp && ${SNOW} ../${PKG} + cd .tmp && ${SNOW} foreign.c + cd .tmp && ${SNOW} retropikzel.${LIBRARY} cd .tmp && akku install akku-r7rs 2> /dev/null cd .tmp && CSC_OPTIONS="-L -lcurl -L -lSDL2 -L -lSDL2_image" COMPILE_R7RS=${SCHEME} compile-r7rs ${LIB_PATHS} -o test test.${SFX} cd .tmp && ./test