fixes to run stdlib tests and tutorial tests. No unexpected exits on these tests (without output checkings). + remove som e leftovers from stdlib closure coding + bug fixes

This commit is contained in:
ProgramSnail 2025-04-12 17:09:02 +03:00
parent 467eeb0eef
commit 4d7afdeae0
10 changed files with 84 additions and 51 deletions

View file

@ -16,9 +16,9 @@ for test in ../regression/*.lama; do
test_path="${test%.*}"
test_file="${test_path##*/}"
echo $test_path: $test_file
# cat $test_file.input | ./byterun.exe -p $test_file.bc > test.bc.code
# cat $test_file.input | ./byterun.exe -p $test_file.bc
# cat $test_file.input | ./byterun.exe -vi $test_file.bc
# cat $test_path.input | ./byterun.exe -p $test_file.bc > test.bc.code
# cat $test_path.input | ./byterun.exe -p $test_file.bc
# cat $test_path.input | ./byterun.exe -vi $test_file.bc
cat $test_path.input | ./byterun.exe -vi $test_file.bc > test.log
sed '1d;s/^..//' $test_path.t > test_orig.log
diff test.log test_orig.log