Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/promises/lm-type/bound-constructor.lsts
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ assert( safe-alloc-block-count == 0 );
assert( safe-alloc-block-count-monotonic <= 12 );
safe-alloc-block-count-monotonic = 0;

assert( ts(c"A",[ta]) == ts(c"A",[ta]) );
assert( ts(c"A",mk-vector(type(Type)).push(ta)) == ts(c"A",mk-vector(type(Type)).push(ta)) );
assert( safe-alloc-block-count == 0 );
assert( safe-alloc-block-count-monotonic <= 4 );
safe-alloc-block-count-monotonic = 0;

assert( ts(c"A",[ta,ta]) == ts(c"A",[ta,ta]) );
assert( ts(c"A",mk-vector(type(Type)).push(ta).push(ta)) == ts(c"A",mk-vector(type(Type)).push(ta).push(ta)) );
assert( safe-alloc-block-count == 0 );
assert( safe-alloc-block-count-monotonic <= 6 );
safe-alloc-block-count-monotonic = 0;
Expand Down
2 changes: 1 addition & 1 deletion tests/promises/lm-type/constructor.lsts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ assert( (t0(c"A") && t0(c"B")) == (t0(c"A") && t0(c"B")) );
assert( (t0(c"A") && t0(c"B")) == (t0(c"B") && t0(c"A")) );
assert( safe-alloc-block-count == 0 );

assert( ts(c"B",[t0(c"A")]) == t1(c"B",t0(c"A")) );
assert( ts(c"B",mk-vector(type(Type)).push(t0(c"A"))) == t1(c"B",t0(c"A")) );
assert( safe-alloc-block-count == 0 );

assert( tand(mk-vector(type(Type)).push(t0(c"A")).push(t0(c"B"))) == (t0(c"B") && t0(c"A")) );
Expand Down
3 changes: 2 additions & 1 deletion tests/regress.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ fn run_bootstrap(target: &str, leave_tmp: bool, is_v3: bool) -> String {
if !leave_tmp { rm("tmp.c"); };
rm("a.out");

//these exist because GC is slow atm
let mut lm_protect = target.contains("lm-");
//if target.contains("lm-type") { lm_protect = false; };
//if target.contains("lm-ast") { lm_protect = false; };
//if target.contains("lm-tctx") { lm_protect = false; };
//if target.contains("lm-type") { lm_protect = false; };

let exit = if is_v3 && lm_protect {
Command::new("./bootstrap.exe")
Expand Down
Loading