summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2015-12-24 10:54:19 -0800
committerAlon Zakai <alonzakai@gmail.com>2015-12-24 10:54:19 -0800
commit35be999879f7af5366c0195dbe45b1fd8a22a539 (patch)
treea72f201b9540611ed39de2a533f7f38ab059edef
parentfe9fb1844dec17fe48ef8c70ef6cec0679e63cb6 (diff)
downloadbinaryen-35be999879f7af5366c0195dbe45b1fd8a22a539.tar.gz
binaryen-35be999879f7af5366c0195dbe45b1fd8a22a539.tar.bz2
binaryen-35be999879f7af5366c0195dbe45b1fd8a22a539.zip
update check.py
-rwxr-xr-xcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index 8fa1d9a80..32406227a 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', '-lsupport', '-L.'])
+subprocess.check_call(['g++', '-std=c++11', os.path.join('test', 'example', 'find_div0s.cpp'), '-Isrc', '-g', '-lsupport', '-Llib/.'])
actual = subprocess.Popen(['./a.out'], stdout=subprocess.PIPE).communicate()[0]
expected = open(os.path.join('test', 'example', 'find_div0s.txt')).read()
if actual != expected: