diff options
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -408,7 +408,9 @@ for dot_s_dir in ['dot_s', 'llvm_autogenerated']: print '..', s wasm = s.replace('.s', '.wast') full = os.path.join('test', dot_s_dir, s) - actual, err = subprocess.Popen([os.path.join('bin', 's2wasm'), full], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() + start = ['--start'] if s.startswith('start_') else [] + cmd = [os.path.join('bin', 's2wasm'), full] + start + actual, err = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() assert err == '', 'bad err:' + err # verify output |