summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
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',