diff options
Diffstat (limited to 'test/update-spec-tests.py')
-rwxr-xr-x | test/update-spec-tests.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/test/update-spec-tests.py b/test/update-spec-tests.py index 0d9dd4e7..fee95842 100755 --- a/test/update-spec-tests.py +++ b/test/update-spec-tests.py @@ -29,6 +29,7 @@ WASM2C_SPEC_TEST_DIR = os.path.join(TEST_DIR, 'wasm2c', 'spec') options = None + def GetFilesWithExtension(src_dir, want_ext): result = set() if os.path.exists(src_dir): @@ -75,13 +76,6 @@ def ProcessProposalDir(name, flags=None): flags) -def ProcessTestsuite(wabt_test_dir, testsuite_dir, tool, flags=None): - testsuite_dir = os.path.join(TESTSUITE_DIR, reldir) - testsuite_tests = GetFilesWithExtension(testsuite_dir, '.wast') - wabt_test_dir = os.path.join(SPEC_TEST_DIR, reldir) - ProcessDir(wabt_test_dir, testsuite_tests, 'run-interp-spec') - - def main(args): parser = argparse.ArgumentParser() parser.add_argument('-v', '--verbose', help='print more diagnotic messages.', |