Skip to content

Commit 0af4ac2

Browse files
authored
Merge pull request #2010 from andrew-johnson-4/fix-8-regressions-tests-fdsklslsl
Fix 8 regressions tests fdsklslsl
2 parents b089623 + d3a1bf1 commit 0af4ac2

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

tests/promises/lm-type/bound-constructor.lsts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ assert( safe-alloc-block-count == 0 );
5858
assert( safe-alloc-block-count-monotonic <= 12 );
5959
safe-alloc-block-count-monotonic = 0;
6060

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

66-
assert( ts(c"A",[ta,ta]) == ts(c"A",[ta,ta]) );
66+
assert( ts(c"A",mk-vector(type(Type)).push(ta).push(ta)) == ts(c"A",mk-vector(type(Type)).push(ta).push(ta)) );
6767
assert( safe-alloc-block-count == 0 );
6868
assert( safe-alloc-block-count-monotonic <= 6 );
6969
safe-alloc-block-count-monotonic = 0;

tests/promises/lm-type/constructor.lsts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ assert( (t0(c"A") && t0(c"B")) == (t0(c"A") && t0(c"B")) );
5151
assert( (t0(c"A") && t0(c"B")) == (t0(c"B") && t0(c"A")) );
5252
assert( safe-alloc-block-count == 0 );
5353

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

5757
assert( tand(mk-vector(type(Type)).push(t0(c"A")).push(t0(c"B"))) == (t0(c"B") && t0(c"A")) );

tests/regress.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,11 @@ fn run_bootstrap(target: &str, leave_tmp: bool, is_v3: bool) -> String {
3434
if !leave_tmp { rm("tmp.c"); };
3535
rm("a.out");
3636

37+
//these exist because GC is slow atm
3738
let mut lm_protect = target.contains("lm-");
39+
//if target.contains("lm-type") { lm_protect = false; };
3840
//if target.contains("lm-ast") { lm_protect = false; };
3941
//if target.contains("lm-tctx") { lm_protect = false; };
40-
//if target.contains("lm-type") { lm_protect = false; };
4142

4243
let exit = if is_v3 && lm_protect {
4344
Command::new("./bootstrap.exe")

0 commit comments

Comments
 (0)