diff options
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -408,7 +408,10 @@ 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() + cmd = [os.path.join('bin', 's2wasm'), full] + if s.startswith('start_'): + cmd.append('--start') + actual, err = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate() assert err == '', 'bad err:' + err # verify output |