From dc5a2bf6f34b2eea26919b79e6ae9c020e750538 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Wed, 11 Nov 2015 19:49:57 -0800 Subject: update check.py --- check.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'check.py') diff --git a/check.py b/check.py index 8b9960b95..6717fccb2 100755 --- a/check.py +++ b/check.py @@ -64,20 +64,20 @@ for asm in tests: raise Exception('wasm interpreter error: ' + err) # failed to pretty-print raise Exception('wasm interpreter error') -print '\n[ checking wasm-shell testcases... ]\n' +print '\n[ checking binaryen-shell testcases... ]\n' for t in tests: if t.endswith('.wast') and not t.startswith('spec'): print '..', t t = os.path.join('test', t) - actual, err = subprocess.Popen([os.path.join('bin', 'wasm-shell'), t, 'print-wasm'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() + actual, err = subprocess.Popen([os.path.join('bin', 'binaryen-shell'), t, '--print-before'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() assert err == '', 'bad err:' + err expected = open(t).read() if actual != expected: fail(actual, expected) -print '\n[ checking wasm-shell spec testcases... ]\n' +print '\n[ checking binaryen-shell spec testcases... ]\n' if len(requested) == 0: BLACKLIST = [] @@ -89,7 +89,7 @@ for t in spec_tests: if t.startswith('spec') and t.endswith('.wast'): print '..', t wast = os.path.join('test', t) - proc = subprocess.Popen([os.path.join('bin', 'wasm-shell'), wast], stdout=subprocess.PIPE, stderr=subprocess.PIPE) + proc = subprocess.Popen([os.path.join('bin', 'binaryen-shell'), wast], stdout=subprocess.PIPE, stderr=subprocess.PIPE) actual, err = proc.communicate() assert proc.returncode == 0, err -- cgit v1.2.3