summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-24 10:01:10 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-24 10:01:10 -0800
commitfbf23be76c01b706ff3cd661a1463546291c5f9c (patch)
tree7d51b2e391e8c38314466afda9f6518f8d0dac01
parent4fda7967edabc917a2be541c2bd3f0ba2cfcb63a (diff)
downloadbinaryen-fbf23be76c01b706ff3cd661a1463546291c5f9c.tar.gz
binaryen-fbf23be76c01b706ff3cd661a1463546291c5f9c.tar.bz2
binaryen-fbf23be76c01b706ff3cd661a1463546291c5f9c.zip
update check.py for libsupport
-rwxr-xr-xcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index 97fe1b886..8fa1d9a80 100755
--- a/check.py
+++ b/check.py
@@ -256,7 +256,7 @@ for s in sorted(os.listdir(os.path.join('test', 'dot_s'))) + sorted(os.listdir(o
print '\n[ checking example testcases... ]\n'
-subprocess.check_call(['g++', '-std=c++11', os.path.join('test', 'example', 'find_div0s.cpp'), '-Isrc', '-g'])
+subprocess.check_call(['g++', '-std=c++11', os.path.join('test', 'example', 'find_div0s.cpp'), '-Isrc', '-g', '-lsupport', '-L.'])
actual = subprocess.Popen(['./a.out'], stdout=subprocess.PIPE).communicate()[0]
expected = open(os.path.join('test', 'example', 'find_div0s.txt')).read()
if actual != expected: