Skip to content

Commit 9ca1e5b

Browse files
committed
Force regression-1118 to run on Haiku with max threads set to 2.
Otherwise it keeps timing out.
1 parent f7da856 commit 9ca1e5b

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

  • test/full-program-tests/regression-1118

test/full-program-tests/regression-1118/main.pony

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ actor Main
3636
fun @runtime_override_defaults(rto: RuntimeOptions) =>
3737
rto.ponynoblock = true
3838

39+
// Skip on Haiku: keeps timing out in QEmu with 4 cores enabled.
40+
// It runs fine in QEmu with just 2 cores enabled or without time limit.
41+
// It runs in ~35s on 2 cores and ~60s on 4 cores.
42+
ifdef haiku then
43+
rto.ponymaxthreads = 2
44+
end
45+
3946
actor Test
4047
var c: U64 = 0
4148

0 commit comments

Comments
 (0)