summaryrefslogtreecommitdiff
path: root/test/run-tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/run-tests.py')
-rwxr-xr-xtest/run-tests.py18
1 files changed, 17 insertions, 1 deletions
diff --git a/test/run-tests.py b/test/run-tests.py
index ba544d98..e0f53d6e 100755
--- a/test/run-tests.py
+++ b/test/run-tests.py
@@ -157,7 +157,22 @@ TOOLS = {
]),
'-v'
]
- }
+ },
+ 'run-gen-spec-js': {
+ 'EXE': 'test/run-gen-spec-js.py',
+ 'FLAGS': ' '.join([
+ '--wast2wasm=%(wast2wasm)s',
+ '--wasm2wast=%(wasm2wast)s',
+ '--no-error-cmdline',
+ '-o', '%(out_dir)s',
+ ]),
+ 'VERBOSE-FLAGS': [
+ ' '.join([
+ '--print-cmd',
+ ]),
+ '-v'
+ ]
+ },
}
ROUNDTRIP_TOOLS = ('wast2wasm',)
@@ -743,6 +758,7 @@ def main(args):
return 1
variables = {}
+ variables['test_dir'] = os.path.abspath(SCRIPT_DIR)
for exe_basename in find_exe.EXECUTABLES:
attr_name = exe_basename.replace('-', '_')