We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45f8dd9 commit fcaeb5cCopy full SHA for fcaeb5c
1 file changed
test/unit/test_features.py
@@ -422,14 +422,15 @@ def test_explicit_detect_features(self):
422
opts=['-mvp', '--detect-features', '--enable-simd'])
423
424
def test_emit_all_features(self):
425
+ temp_path = os.path.join(shared.options.out_dir, 'test_emit_all_features.wasm')
426
p = shared.run_process(shared.WASM_OPT +
- ['--emit-target-features', '-all', '-o', '-'],
427
+ ['--emit-target-features', '-all', '-o', temp_path],
428
input="(module)", check=False,
429
capture_output=True, decode_output=False)
430
self.assertEqual(p.returncode, 0)
431
p2 = shared.run_process(shared.WASM_OPT +
- ['--print-features', '-o', os.devnull, '-'],
432
- input=p.stdout, check=False,
+ ['--print-features', '-o', os.devnull, temp_path],
433
+ check=False,
434
capture_output=True)
435
self.assertEqual(p2.returncode, 0)
436
self.assertEqual([
0 commit comments