This PR sets up the new integrated test/bench suite. It then migrates all benchmarks and some related tests to the new suite. There's also some documentation and some linting. For now, a lot of the old tests are left alone so this PR doesn't become even larger than it already is. Eventually, all tests should be migrated to the new suite though so there isn't a confusing mix of two systems.
17 lines
560 B
Text
17 lines
560 B
Text
[Compiler.saveMono] size: 12
|
|
def f b a.1 : EST.Out IO.Error lcAny PUnit :=
|
|
jp _jp.2 a _y.3 : EST.Out IO.Error lcAny PUnit :=
|
|
let _x.4 := print a _y.3;
|
|
cases _x.4 : EST.Out IO.Error lcAny PUnit
|
|
| EST.Out.ok a.5 a.6 =>
|
|
let _x.7 := print a a.6;
|
|
return _x.7
|
|
| EST.Out.error a.8 a.9 =>
|
|
return _x.4;
|
|
cases b : EST.Out IO.Error lcAny PUnit
|
|
| Bool.false =>
|
|
let _x.10 := 1;
|
|
goto _jp.2 _x.10 a.1
|
|
| Bool.true =>
|
|
let _x.11 := 0;
|
|
goto _jp.2 _x.11 a.1
|