diff options
Diffstat (limited to 'test/unit/test_asyncify.py')
-rw-r--r-- | test/unit/test_asyncify.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit/test_asyncify.py b/test/unit/test_asyncify.py index 1010c07c4..7510c9492 100644 --- a/test/unit/test_asyncify.py +++ b/test/unit/test_asyncify.py @@ -14,7 +14,8 @@ class AsyncifyTest(utils.BinaryenTestCase): shared.run_process(shared.WASM_OPT + args + [self.input_path('asyncify-coroutine.wat'), '--asyncify', '-o', 'b.wasm']) shared.run_process(shared.WASM_OPT + args + [self.input_path('asyncify-stackOverflow.wat'), '--asyncify', '-o', 'c.wasm']) print(' file size: %d' % os.path.getsize('a.wasm')) - shared.run_process([shared.NODEJS, self.input_path('asyncify.js')]) + if shared.NODEJS: + shared.run_process([shared.NODEJS, self.input_path('asyncify.js')]) test(['-g']) test([]) |