diff options
Diffstat (limited to 'scripts/test/generate_lld_tests.py')
-rwxr-xr-x | scripts/test/generate_lld_tests.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/scripts/test/generate_lld_tests.py b/scripts/test/generate_lld_tests.py index 2279482eb..c16415d7e 100755 --- a/scripts/test/generate_lld_tests.py +++ b/scripts/test/generate_lld_tests.py @@ -18,8 +18,9 @@ from __future__ import print_function import os import sys -from support import run_command -import shared + +from . import shared +from . import support def files_with_extensions(path, extensions): @@ -76,9 +77,9 @@ def generate_wast_files(llvm_bin, emscripten_root): link_cmd.append('--entry=main') try: - run_command(compile_cmd) - run_command(link_cmd) - run_command(shared.WASM_DIS + [wasm_path, '-o', wast_path]) + support.run_command(compile_cmd) + support.run_command(link_cmd) + support.run_command(shared.WASM_DIS + [wasm_path, '-o', wast_path]) finally: # Don't need the .o or .wasm files, don't leave them around shared.delete_from_orbit(obj_path) |