Skip to content

Commit 5a6df09

Browse files
committed
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.
1 parent e65efb1 commit 5a6df09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1983,7 +1983,7 @@ def _build_and_run(self, filename, expected_output, args=None,
19831983
# TODO once standalone wasm support is more stable, apply use_all_engines
19841984
# like with js engines, but for now as we bring it up, test in all of them
19851985
if not self.wasm_engines:
1986-
logger.warning('no wasm engine was found to run the standalone part of this test')
1986+
self.skipTest('no wasm engine was found to run the standalone part of this test')
19871987
engines += self.wasm_engines
19881988
if len(engines) == 0:
19891989
self.fail('No JS engine present to run this test with. Check %s and the paths therein.' % config.EM_CONFIG)

0 commit comments

Comments
 (0)