We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5244605 commit 109c283Copy full SHA for 109c283
scripts/test/wasm2js.py
@@ -42,10 +42,15 @@ def check_for_stale_files():
42
all_tests = basic_tests + spec_tests + wasm2js_tests
43
all_tests = [os.path.basename(os.path.splitext(t)[0]) for t in all_tests]
44
45
+ assert_test_prefixes = [t.split('.')[0] for t in assert_tests]
46
+ skipped_test_prefixes = [t.split('.')[0] for t in shared.SPEC_TESTSUITE_TESTS_TO_SKIP]
47
+
48
all_files = os.listdir(shared.get_test_dir('wasm2js'))
49
for f in all_files:
50
prefix = f.split('.')[0]
- if prefix in [t.split('.')[0] for t in assert_tests]:
51
+ if prefix in assert_test_prefixes:
52
+ continue
53
+ if prefix in skipped_test_prefixes:
54
continue
55
if prefix not in all_tests:
56
shared.fail_with_error(f'orphan test output: {f}')
0 commit comments