Skip to content

Commit 850f309

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 319a76c commit 850f309

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
@@ -1995,7 +1995,7 @@ def _build_and_run(self, filename, expected_output, args=None,
19951995
# TODO once standalone wasm support is more stable, apply use_all_engines
19961996
# like with js engines, but for now as we bring it up, test in all of them
19971997
if not self.wasm_engines:
1998-
logger.warning('no wasm engine was found to run the standalone part of this test')
1998+
self.skipTest('no wasm engine was found to run the standalone part of this test')
19991999
engines += self.wasm_engines
20002000
if len(engines) == 0:
20012001
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)