Add lli support for running example test cases #327

Merged
sb10q merged 7 commits from lli-support into master 2023-09-30 09:31:18 +08:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit cbdbe53db1 - Show all commits

View File

@ -17,3 +17,5 @@ echo -n "Checking $demo... "
diff -Nau interpreted.log run.log
diff -Nau interpreted.log run_lli.log
echo "ok"
rm -f interpreted.log run.log run_lli.log
sb10q marked this conversation as resolved Outdated
Outdated
Review

Just keep them, they can be used for debugging if the test failed.

Just keep them, they can be used for debugging if the test failed.

If the test failed, the files won't be deleted anyways because the script will exit after running diff, so it doesn't matter.

If the test failed, the files won't be deleted anyways because the script will exit after running `diff`, so it doesn't matter.