diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-10-31 20:10:45 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-10-31 20:10:45 -0700 |
commit | 4f4a650c67d5105fedf44b83c06a51102947c045 (patch) | |
tree | 336be8469039e8ffa7ff089e4da53b2033dee1c6 /check.py | |
parent | b85cd243b3e289e0dda56d37cd7649883a085e6a (diff) | |
download | binaryen-4f4a650c67d5105fedf44b83c06a51102947c045.tar.gz binaryen-4f4a650c67d5105fedf44b83c06a51102947c045.tar.bz2 binaryen-4f4a650c67d5105fedf44b83c06a51102947c045.zip |
start to test wasm in c tests
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -77,6 +77,7 @@ for c in tests: subprocess.check_call(['./emcc_to_polyfill.sh', os.path.join('test', c)], stdout=subprocess.PIPE, stderr=subprocess.PIPE) if post: open('a.normal.js', 'a').write(post) + open('a.wasm.js', 'a').write(post) proc = subprocess.Popen(['nodejs', 'a.normal.js'], stdout=subprocess.PIPE) out, err = proc.communicate() assert proc.returncode == 0 |