Fix test_core_suite.py polyglot resource exhaustion test to skip Guile Z-combinator check if node is absent
This commit is contained in:
1 parent
e0cf9d49b6
commit
872ea7a02e
1 file changed
+2
@@ -1038,6 +1038,8 @@ def test_ipld_quant_and_mcp_server() -> None:
|
||||
("Array.from({length: 1000000}, (_, i): number => i + 1).reduce((a, b) => a + b, 0)", "ts"),
|
||||
("(1..=1000000_i64).fold(0_i64, |acc, x| acc + x)", "rust"),
|
||||
):
|
||||
if inf_lang == "guile" and not shutil.which("node"):
|
||||
continue
|
||||
halted = False
|
||||
try:
|
||||
evaluate_polyglot_sandbox(inf_expr, lang=inf_lang, max_steps=2000)
|
||||
|
||||
Reference in new issue
Block a user