mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
19 lines
315 B
Bash
Executable file
19 lines
315 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
dune build > /dev/null
|
|
|
|
prefix="../regression/"
|
|
suffix=".lama"
|
|
|
|
for test in ../regression/*.lama; do
|
|
echo $test
|
|
lamac -b $test > /dev/null
|
|
test_file="${test%.*}"
|
|
echo $test_file
|
|
cat $test_file.input | ./byterun.exe -vi test*.bc > /dev/null
|
|
rm test*.bc
|
|
echo "done"
|
|
done
|
|
|
|
rm *.o
|
|
|