diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-06-21 17:11:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-21 17:11:02 -0700 |
commit | 463bef3f8afeadb658612896384cc439897533a0 (patch) | |
tree | d020ea3189f24d346e86d90f950f214913e4dfaf /check.py | |
parent | 52821472b93e551375b8df43cc1b8a7bfc18e8f5 (diff) | |
parent | 41689a5dde63c96eb1bf7daf50bc192979aa0452 (diff) | |
download | binaryen-463bef3f8afeadb658612896384cc439897533a0.tar.gz binaryen-463bef3f8afeadb658612896384cc439897533a0.tar.bz2 binaryen-463bef3f8afeadb658612896384cc439897533a0.zip |
Merge pull request #593 from WebAssembly/remove-div0
Explicit registering of passes
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -665,12 +665,7 @@ print '\n[ checking example testcases... ]\n' for t in sorted(os.listdir(os.path.join('test', 'example'))): output_file = os.path.join('bin', 'example') cmd = ['-Isrc', '-g', '-lasmjs', '-lsupport', '-Llib/.', '-pthread', '-o', output_file] - if t.endswith('.cpp'): - cmd = [os.path.join('test', 'example', t), - os.path.join('src', 'passes', 'pass.cpp'), - os.path.join('src', 'wasm.cpp'), - os.path.join('src', 'passes', 'Print.cpp')] + cmd - elif t.endswith('.c'): + if t.endswith('.c'): # build the C file separately extra = [os.environ.get('CC') or 'gcc', os.path.join('test', 'example', t), '-c', '-o', 'example.o', |