From 5a6df09c21749c9a80fa91050d9e584e0671396a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jukka=20Jyl=C3=A4nki?= Date: Sat, 28 Jun 2025 09:55:08 +0300 Subject: [PATCH] Change standalone wasm vm tests to emit a test skip when wasm engine is not present, rather than print a warning and then possibly fail. Fixes `test/runner core2g.test_eval_ctors_standalone` without a Wasm engine present. --- test/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common.py b/test/common.py index 659db60b9aaf0..b70d8c2966e9e 100644 --- a/test/common.py +++ b/test/common.py @@ -1983,7 +1983,7 @@ def _build_and_run(self, filename, expected_output, args=None, # TODO once standalone wasm support is more stable, apply use_all_engines # like with js engines, but for now as we bring it up, test in all of them if not self.wasm_engines: - logger.warning('no wasm engine was found to run the standalone part of this test') + self.skipTest('no wasm engine was found to run the standalone part of this test') engines += self.wasm_engines if len(engines) == 0: self.fail('No JS engine present to run this test with. Check %s and the paths therein.' % config.EM_CONFIG)