summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-06-21 17:11:02 -0700
committerGitHub <noreply@github.com>2016-06-21 17:11:02 -0700
commit463bef3f8afeadb658612896384cc439897533a0 (patch)
treed020ea3189f24d346e86d90f950f214913e4dfaf /check.py
parent52821472b93e551375b8df43cc1b8a7bfc18e8f5 (diff)
parent41689a5dde63c96eb1bf7daf50bc192979aa0452 (diff)
downloadbinaryen-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-xcheck.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/check.py b/check.py
index 7220ad2ed..9dca8825c 100755
--- a/check.py
+++ b/check.py
@@ -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',