diff options
Diffstat (limited to 'scripts/test/wasm2js.py')
-rw-r--r-- | scripts/test/wasm2js.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test/wasm2js.py b/scripts/test/wasm2js.py index 6463fa3a8..cbae2216a 100644 --- a/scripts/test/wasm2js.py +++ b/scripts/test/wasm2js.py @@ -41,9 +41,9 @@ def check_for_stale_files(): all_files = os.listdir(shared.get_test_dir('wasm2js')) for f in all_files: - if f in assert_tests: - continue prefix = f.split('.')[0] + if prefix in [t.split('.')[0] for t in assert_tests]: + continue if prefix not in all_tests: shared.fail_with_error('orphan test output: %s' % f) |