adding lisp-interpreter
Meson Build and Deploy / build (push) Failing after 29s

This commit is contained in:
Arthur Barraux
2025-09-24 10:58:09 +02:00
parent ab482df604
commit d8fc7d2d67
57 changed files with 30702 additions and 5 deletions
+57
View File
@@ -0,0 +1,57 @@
#!/bin/sh
PASS=1
cd tests/code
for FILE in *.scm
do
echo "$FILE"
../../lisp --script "$FILE"
RESULT=$?
printf "\n"
if [ $RESULT = "0" ]
then
echo "FINISHED $FILE"
else
echo "*FAILED* $FILE"
PASS=0
fi
printf "\n"
done
cd ../
cd data
( ./test.sh )
RESULT=$?
if [ $RESULT = "0" ]
then
echo "FINISHED data test"
else
echo "*FAILED* data test"
PASS=0
fi
cd ../
cd printer
( ./test.sh )
RESULT=$?
if [ $RESULT = "0" ]
then
echo "FINISHED printer test"
else
echo "*FAILED* printer test"
PASS=0
fi
if [ $PASS = "0" ]
then
echo "**TESTS FAILED**"
else
echo "**TESTS PASSED**"
fi