Skip to content

Commit afad123

Browse files
committed
TEST: Reduced term_to_atom-2 on WASM, where the C-stack is too small.
1 parent 496f8e2 commit afad123

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

tests/test.pl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1401,7 +1401,10 @@
14011401
term_atom(term_to_atom-1) :-
14021402
termtest(10).
14031403
term_atom(term_to_atom-2) :-
1404-
termtest(1000).
1404+
( current_prolog_flag(emscripten, true)
1405+
-> termtest(500) % Runs out 1M stack hard at ~997
1406+
; termtest(1000)
1407+
).
14051408

14061409

14071410
/*******************************

0 commit comments

Comments
 (0)