new module system fixes, fine result on regression tests (same to before mod)

This commit is contained in:
ProgramSnail 2025-03-03 00:13:19 +03:00
parent 7ab5944536
commit 25322bd3d7
6 changed files with 44 additions and 24 deletions

View file

@ -10,13 +10,13 @@ compiler=../_build/default/src/Driver.exe
echo "Used compiler path:"
echo $compiler
for test in ../regression/*009.lama; do
for test in ../regression/*.lama; do
echo $test
$compiler -b $test > /dev/null
test_file="${test%.*}"
echo $test_file
cat $test_file.input | ./byterun.exe -p test*.bc #> /dev/null
cat $test_file.input | ./byterun.exe -vi test*.bc #> /dev/null
cat $test_file.input | ./byterun.exe -p test*.bc > /dev/null
cat $test_file.input | ./byterun.exe -vi test*.bc > /dev/null
rm test*.bc
echo "done"
done