From f5beae2835377e452c95c5b64a90a75b97b3234e Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Sun, 22 Nov 2015 15:39:06 -0800 Subject: emit constants instead of callImport when there is a type necessary --- check.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'check.py') diff --git a/check.py b/check.py index ef7a7fed4..77733a901 100755 --- a/check.py +++ b/check.py @@ -89,7 +89,9 @@ for t in sorted(os.listdir(os.path.join('test', 'passes'))): if t.endswith('.wast'): print '..', t passname = os.path.basename(t).replace('.wast', '') - actual, err = subprocess.Popen([os.path.join('bin', 'binaryen-shell'), '-print-before', '-print-after', '-' + passname, os.path.join('test', 'passes', t)], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() + cmd = [os.path.join('bin', 'binaryen-shell'), '-print-before', '-print-after', '-' + passname, os.path.join('test', 'passes', t)] + print ' ', ' '.join(cmd) + actual, err = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() fail_if_not_identical(actual, open(os.path.join('test', 'passes', passname + '.txt')).read()) print '\n[ checking binaryen-shell testcases... ]\n' -- cgit v1.2.3