From 665b5a7114e4c39671fbcb41bd76f9b665b2bda7 Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Thu, 29 Oct 2015 15:58:55 -0700 Subject: optimize away trivial blocks --- check.py | 1 + 1 file changed, 1 insertion(+) (limited to 'check.py') diff --git a/check.py b/check.py index d5a1714df..fef35239b 100755 --- a/check.py +++ b/check.py @@ -11,6 +11,7 @@ for asm in sorted(os.listdir('test')): actual, err = subprocess.Popen([os.path.join('bin', 'asm2wasm'), os.path.join('test', asm)], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() assert err == '', 'bad err:' + err if not os.path.exists(os.path.join('test', wasm)): + print actual raise Exception('output .wast file does not exist') expected = open(os.path.join('test', wasm)).read() if actual != expected: -- cgit v1.2.3