diff options
Diffstat (limited to 'scripts/test/shared.py')
-rw-r--r-- | scripts/test/shared.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/test/shared.py b/scripts/test/shared.py index 720ad2aa9..dcb52b3fe 100644 --- a/scripts/test/shared.py +++ b/scripts/test/shared.py @@ -50,8 +50,9 @@ def parse_args(args): ' earlier errors.')) parser.add_argument( '--binaryen-bin', dest='binaryen_bin', default='', - help=('Specifies a path to where the built Binaryen executables reside at.' - ' Default: bin/ of current directory (i.e. assume an in-tree build).' + help=('Specifies the path to the Binaryen executables in the CMake build' + ' directory. Default: bin/ of current directory (i.e. assume an' + ' in-tree build).' ' If not specified, the environment variable BINARYEN_ROOT= can also' ' be used to adjust this.')) parser.add_argument( @@ -129,6 +130,8 @@ if not options.binaryen_lib: options.binaryen_lib = os.path.normpath(os.path.abspath(options.binaryen_lib)) +options.binaryen_build = os.path.dirname(options.binaryen_bin) + # ensure BINARYEN_ROOT is set up os.environ['BINARYEN_ROOT'] = os.path.dirname(options.binaryen_bin) |