summaryrefslogtreecommitdiff
path: root/test/run-tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/run-tests.py')
-rwxr-xr-xtest/run-tests.py14
1 files changed, 9 insertions, 5 deletions
diff --git a/test/run-tests.py b/test/run-tests.py
index 0d6b9405..07e3d22b 100755
--- a/test/run-tests.py
+++ b/test/run-tests.py
@@ -42,8 +42,12 @@ SLOW_TIMEOUT_MULTIPLIER = 2
# default configurations for tests
TOOLS = {
- 'wast2wasm': {
- 'EXE': '%(wast2wasm)s',
+ 'wat2wasm': {
+ 'EXE': '%(wat2wasm)s',
+ 'VERBOSE-FLAGS': ['-v']
+ },
+ 'wast2json': {
+ 'EXE': '%(wast2json)s',
'VERBOSE-FLAGS': ['-v']
},
'wast-desugar': {
@@ -139,7 +143,7 @@ TOOLS = {
},
}
-ROUNDTRIP_TOOLS = ('wast2wasm',)
+ROUNDTRIP_TOOLS = ('wat2wasm',)
def Indent(s, spaces):
@@ -228,8 +232,8 @@ class TestInfo(object):
self.input_ = ''
self.expected_stdout = ''
self.expected_stderr = ''
- self.tool = 'wast2wasm'
- self.exe = '%(wast2wasm)s'
+ self.tool = 'wat2wasm'
+ self.exe = '%(wat2wasm)s'
self.flags = []
self.env = {}
self.last_cmd = ''