From da0265e7d691bf2db1f7809e1043e142b6f1dc08 Mon Sep 17 00:00:00 2001 From: retropikzel Date: Sat, 29 Nov 2025 12:48:11 +0200 Subject: [PATCH] Small fixes --- .gitignore | 1 + Makefile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8c029f8..901ecc9 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,4 @@ tmp deb *.deb test-result.txt +.* diff --git a/Makefile b/Makefile index e4347e3..ac0f410 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ PREFIX=/usr/local SCHEME=chibi VERSION=1.0.0 -R6RSTMP=tmp/${SCHEME}-r6rs -R7RSTMP=tmp/${SCHEME}-r7rs +R6RSTMP=.tmp/${SCHEME}-r6rs +R7RSTMP=.tmp/${SCHEME}-r7rs DOCKERTAG=compile-scheme-test-${SCHEME} DOCKERIMG=${SCHEME}:head ifeq "${SCHEME}" "chicken" @@ -124,7 +124,7 @@ test-r7rs: rm -rf ${R7RSTMP} mkdir -p ${R7RSTMP} cp -r r7rs-testfiles/* ${R7RSTMP}/ - cd ${R7RSTMP} && COMPILE_R7RS=${SCHEME} compile-scheme -I --debug ./libs main.scm + cd ${R7RSTMP} && COMPILE_R7RS=${SCHEME} compile-scheme -I libs --debug main.scm -cd ${R7RSTMP} && ./main 1 2 3 > test-result.txt 2>&1 @grep "Test successfull (\"1\" \"2\" \"3\")" ${R7RSTMP}/test-result.txt || (echo "Test failed, output: " && cat ${R7RSTMP}/test-result.txt && exit 1)