Started splitting the tests

This commit is contained in:
2025-04-26 10:02:40 +03:00
parent 66ded0d1ee
commit ed96fcad0b
21 changed files with 721 additions and 397 deletions
+4 -3
View File
@@ -67,15 +67,16 @@ ypsilon:
test-compile-r7rs: tmp/test/libtest.o tmp/test/libtest.so tmp/test/libtest.a
make ${COMPILE_R7RS}
cp -r retropikzel tmp/test/
cp tests/compliance.scm tmp/test/
cp tests/*.sld tmp/test/
cp tests/*.scm tmp/test/
cp tests/c-include/libtest.h tmp/test/
cd tmp/test && \
COMPILE_R7RS_GAMBIT="-cc-options \"-ltest -I. -L\" -ld-options \"-L.\"" \
COMPILE_R7RS_CHICKEN="-L -ltest -I. -L." \
compile-r7rs -I . -o compliance compliance.scm
compile-r7rs -I . -o ${TESTNAME} ${TESTNAME}.scm
cd tmp/test && \
LD_LIBRARY_PATH=. \
./compliance
./${TESTNAME}
test-compile-r7rs-docker:
docker build --build-arg COMPILE_R7RS=${COMPILE_R7RS} --tag=r7rs-pffi-test-${COMPILE_R7RS} -f dockerfiles/test .