diff options
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -42,7 +42,7 @@ def get_changelog_version(): def run_help_tests(): print('[ checking --help is useful... ]\n') - not_executable_suffix = ['.txt', '.js', '.ilk', '.pdb', '.dll', '.wasm', '.manifest'] + not_executable_suffix = ['.txt', '.js', '.ilk', '.pdb', '.dll', '.wasm', '.manifest', 'binaryen-lit'] bin_files = [os.path.join(shared.options.binaryen_bin, f) for f in os.listdir(shared.options.binaryen_bin)] executables = [f for f in bin_files if os.path.isfile(f) and not any(f.endswith(s) for s in not_executable_suffix)] executables = sorted(executables) @@ -329,10 +329,10 @@ def run_unittest(): def run_lit(): - lit_script = os.path.join(shared.options.binaryen_root, 'scripts', 'lit_wrapper.py') - lit_cfg = os.path.join(shared.options.binaryen_build, 'test', 'lit') + lit_script = os.path.join(shared.options.binaryen_bin, 'binaryen-lit') + lit_tests = os.path.join(shared.options.binaryen_root, 'test', 'lit') # lit expects to be run as its own executable - cmd = [sys.executable, lit_script, lit_cfg, '-vv'] + cmd = [sys.executable, lit_script, lit_tests, '-vv'] result = subprocess.run(cmd) if result.returncode != 0: shared.num_failures += 1 |