Skip to content

Commit

Permalink
Repair tests in regression
Browse files Browse the repository at this point in the history
Signed-off-by: Kakadu <Kakadu@pm.me>
  • Loading branch information
Kakadu committed Nov 15, 2024
1 parent c3cc26c commit 5dfd0a3
Show file tree
Hide file tree
Showing 80 changed files with 238 additions and 80 deletions.
2 changes: 1 addition & 1 deletion regression/gen.ml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ let () =
let found =
if Sys.file_exists !lama_file then (
cram_printfn
"../src/Driver.exe -i test%03d.lama < \
" $ ../src/Driver.exe -i test%03d.lama < \
test%03d.input"
i i;
true)
Expand Down
4 changes: 3 additions & 1 deletion regression/test001.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test001.lama < test001.input
$ ../src/Driver.exe -i test001.lama < test001.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test002.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test002.lama < test002.input
$ ../src/Driver.exe -i test002.lama < test002.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test003.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test003.lama < test003.input
$ ../src/Driver.exe -i test003.lama < test003.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test004.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test004.lama < test004.input
$ ../src/Driver.exe -i test004.lama < test004.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test005.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test005.lama < test005.input
$ ../src/Driver.exe -i test005.lama < test005.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test006.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test006.lama < test006.input
$ ../src/Driver.exe -i test006.lama < test006.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test007.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test007.lama < test007.input
$ ../src/Driver.exe -i test007.lama < test007.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test008.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test008.lama < test008.input
$ ../src/Driver.exe -i test008.lama < test008.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test009.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test009.lama < test009.input
$ ../src/Driver.exe -i test009.lama < test009.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test010.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test010.lama < test010.input
$ ../src/Driver.exe -i test010.lama < test010.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test011.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test011.lama < test011.input
$ ../src/Driver.exe -i test011.lama < test011.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test012.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test012.lama < test012.input
$ ../src/Driver.exe -i test012.lama < test012.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test013.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test013.lama < test013.input
$ ../src/Driver.exe -i test013.lama < test013.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test014.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test014.lama < test014.input
$ ../src/Driver.exe -i test014.lama < test014.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test015.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test015.lama < test015.input
$ ../src/Driver.exe -i test015.lama < test015.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test016.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test016.lama < test016.input
$ ../src/Driver.exe -i test016.lama < test016.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test017.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test017.lama < test017.input
$ ../src/Driver.exe -i test017.lama < test017.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test018.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test018.lama < test018.input
$ ../src/Driver.exe -i test018.lama < test018.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test019.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test019.lama < test019.input
$ ../src/Driver.exe -i test019.lama < test019.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test020.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test020.lama < test020.input
$ ../src/Driver.exe -i test020.lama < test020.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test021.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test021.lama < test021.input
$ ../src/Driver.exe -i test021.lama < test021.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test022.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test022.lama < test022.input
$ ../src/Driver.exe -i test022.lama < test022.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test023.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test023.lama < test023.input
$ ../src/Driver.exe -i test023.lama < test023.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test024.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test024.lama < test024.input
$ ../src/Driver.exe -i test024.lama < test024.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test025.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test025.lama < test025.input
$ ../src/Driver.exe -i test025.lama < test025.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test026.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test026.lama < test026.input
$ ../src/Driver.exe -i test026.lama < test026.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test027.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test027.lama < test027.input
$ ../src/Driver.exe -i test027.lama < test027.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test028.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test028.lama < test028.input
$ ../src/Driver.exe -i test028.lama < test028.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test029.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test029.lama < test029.input
$ ../src/Driver.exe -i test029.lama < test029.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test034.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test034.lama < test034.input
$ ../src/Driver.exe -i test034.lama < test034.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test036.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test036.lama < test036.input
$ ../src/Driver.exe -i test036.lama < test036.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test040.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test040.lama < test040.input
$ ../src/Driver.exe -i test040.lama < test040.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test041.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test041.lama < test041.input
$ ../src/Driver.exe -i test041.lama < test041.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test042.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test042.lama < test042.input
$ ../src/Driver.exe -i test042.lama < test042.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test045.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test045.lama < test045.input
$ ../src/Driver.exe -i test045.lama < test045.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test046.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test046.lama < test046.input
$ ../src/Driver.exe -i test046.lama < test046.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test050.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test050.lama < test050.input
$ ../src/Driver.exe -i test050.lama < test050.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test054.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test054.lama < test054.input
$ ../src/Driver.exe -i test054.lama < test054.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test059.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test059.lama < test059.input
$ ../src/Driver.exe -i test059.lama < test059.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test063.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test063.lama < test063.input
$ ../src/Driver.exe -i test063.lama < test063.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test072.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test072.lama < test072.input
$ ../src/Driver.exe -i test072.lama < test072.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test073.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test073.lama < test073.input
$ ../src/Driver.exe -i test073.lama < test073.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test074.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test074.lama < test074.input
$ ../src/Driver.exe -i test074.lama < test074.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test077.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test077.lama < test077.input
$ ../src/Driver.exe -i test077.lama < test077.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test078.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test078.lama < test078.input
$ ../src/Driver.exe -i test078.lama < test078.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test079.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test079.lama < test079.input
$ ../src/Driver.exe -i test079.lama < test079.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test080.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test080.lama < test080.input
$ ../src/Driver.exe -i test080.lama < test080.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test081.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test081.lama < test081.input
$ ../src/Driver.exe -i test081.lama < test081.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test082.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test082.lama < test082.input
$ ../src/Driver.exe -i test082.lama < test082.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test083.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test083.lama < test083.input
$ ../src/Driver.exe -i test083.lama < test083.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test084.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test084.lama < test084.input
$ ../src/Driver.exe -i test084.lama < test084.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test085.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test085.lama < test085.input
$ ../src/Driver.exe -i test085.lama < test085.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test086.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test086.lama < test086.input
$ ../src/Driver.exe -i test086.lama < test086.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test088.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test088.lama < test088.input
$ ../src/Driver.exe -i test088.lama < test088.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test089.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test089.lama < test089.input
$ ../src/Driver.exe -i test089.lama < test089.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test090.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test090.lama < test090.input
$ ../src/Driver.exe -i test090.lama < test090.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test091.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test091.lama < test091.input
$ ../src/Driver.exe -i test091.lama < test091.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test092.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test092.lama < test092.input
$ ../src/Driver.exe -i test092.lama < test092.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test093.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test093.lama < test093.input
$ ../src/Driver.exe -i test093.lama < test093.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test094.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test094.lama < test094.input
$ ../src/Driver.exe -i test094.lama < test094.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test095.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test095.lama < test095.input
$ ../src/Driver.exe -i test095.lama < test095.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test096.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test096.lama < test096.input
$ ../src/Driver.exe -i test096.lama < test096.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test097.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test097.lama < test097.input
$ ../src/Driver.exe -i test097.lama < test097.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test098.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test098.lama < test098.input
$ ../src/Driver.exe -i test098.lama < test098.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test099.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test099.lama < test099.input
$ ../src/Driver.exe -i test099.lama < test099.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test100.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test100.lama < test100.input
$ ../src/Driver.exe -i test100.lama < test100.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test101.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test101.lama < test101.input
$ ../src/Driver.exe -i test101.lama < test101.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test102.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test102.lama < test102.input
$ ../src/Driver.exe -i test102.lama < test102.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test103.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test103.lama < test103.input
$ ../src/Driver.exe -i test103.lama < test103.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test104.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test104.lama < test104.input
$ ../src/Driver.exe -i test104.lama < test104.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test105.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test105.lama < test105.input
$ ../src/Driver.exe -i test105.lama < test105.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test106.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test106.lama < test106.input
$ ../src/Driver.exe -i test106.lama < test106.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test107.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test107.lama < test107.input
$ ../src/Driver.exe -i test107.lama < test107.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test110.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test110.lama < test110.input
$ ../src/Driver.exe -i test110.lama < test110.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test111.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test111.lama < test111.input
$ ../src/Driver.exe -i test111.lama < test111.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test112.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test112.lama < test112.input
$ ../src/Driver.exe -i test112.lama < test112.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test801.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test801.lama < test801.input
$ ../src/Driver.exe -i test801.lama < test801.input
Error: could not find an interface file for import "Std"
[255]
4 changes: 3 additions & 1 deletion regression/test802.t
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
../src/Driver.exe -i test802.lama < test802.input
$ ../src/Driver.exe -i test802.lama < test802.input
Error: could not find an interface file for import "Std"
[255]
Loading

0 comments on commit 5dfd0a3

Please sign in to comment.