summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/check.py b/check.py
index 00ab1c52e..ba9d34871 100755
--- a/check.py
+++ b/check.py
@@ -505,7 +505,11 @@ if has_vanilla_emcc and has_vanilla_llvm:
print '\n[ checking example testcases... ]\n'
-cmd = [os.environ.get('CXX') or 'g++', '-std=c++11', os.path.join('test', 'example', 'find_div0s.cpp'), '-Isrc', '-g', '-lsupport', '-Llib/.']
+cmd = [os.environ.get('CXX') or 'g++', '-std=c++11',
+ os.path.join('test', 'example', 'find_div0s.cpp'),
+ os.path.join('src', 'pass.cpp'),
+ os.path.join('src', 'passes', 'Print.cpp'),
+ '-Isrc', '-g', '-lsupport', '-Llib/.']
if os.environ.get('COMPILER_FLAGS'):
for f in os.environ.get('COMPILER_FLAGS').split(' '):
cmd.append(f)