summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/check.py b/check.py
index c04f1ee2b..35293707e 100755
--- a/check.py
+++ b/check.py
@@ -213,13 +213,12 @@ for t in spec_tests:
fail(actual, expected)
print '\n[ checking example testcases... ]\n'
-'''
+
subprocess.check_call(['g++', '-std=c++11', os.path.join('test', 'example', 'find_div0s.cpp'), '-Isrc', '-g'])
actual = subprocess.Popen(['./a.out'], stdout=subprocess.PIPE).communicate()[0]
expected = open(os.path.join('test', 'example', 'find_div0s.txt')).read()
if actual != expected:
fail(actual, expected)
-'''
if has_emcc:
print '\n[ checking wasm.js methods... ]\n'