From 1b3600b0aca6a8f23b6d9e8ae33dcd75c9493810 Mon Sep 17 00:00:00 2001 From: JF Bastien Date: Mon, 11 Jan 2016 17:23:27 -0800 Subject: asm2wasm: use support's command-line --- check.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'check.py') diff --git a/check.py b/check.py index ed43458ef..1921c8b89 100755 --- a/check.py +++ b/check.py @@ -85,7 +85,9 @@ for asm in tests: if asm.endswith('.asm.js'): wasm = asm.replace('.asm.js', '.fromasm') print '..', asm, wasm - actual, err = subprocess.Popen([os.path.join('bin', 'asm2wasm'), os.path.join('test', asm)], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() + cmd = [os.path.join('bin', 'asm2wasm'), os.path.join('test', asm)] + print ' ', ' '.join(cmd) + actual, err = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() assert err == '', 'bad err:' + err # verify output -- cgit v1.2.3