We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acb1258 commit ffc3f22Copy full SHA for ffc3f22
1 file changed
scripts/test/wasm2js.py
@@ -65,7 +65,15 @@ def test_wasm2js_output():
65
expected_file += '.opt'
66
67
if not os.path.exists(expected_file):
68
- continue
+ # It is ok to skip tests from other test suites that we also
69
+ # test on wasm2js (the basic and spec tests). When such files
70
+ # pass in wasm2js, we add expected files for them, so lacking
71
+ # such a file just means we should ignore it. But lacking an
72
+ # expected file for an explicit wasm2js test is an error.
73
+ if t in basic_tests or t in spec_tests:
74
+ continue
75
+ else:
76
+ raise Exception(f'missing expected file {expected_file}')
77
78
print('..', os.path.basename(t))
79
0 commit comments