diff options
author | Alon Zakai <alonzakai@gmail.com> | 2015-12-24 10:54:19 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2015-12-24 10:54:19 -0800 |
commit | 35be999879f7af5366c0195dbe45b1fd8a22a539 (patch) | |
tree | a72f201b9540611ed39de2a533f7f38ab059edef | |
parent | fe9fb1844dec17fe48ef8c70ef6cec0679e63cb6 (diff) | |
download | binaryen-35be999879f7af5366c0195dbe45b1fd8a22a539.tar.gz binaryen-35be999879f7af5366c0195dbe45b1fd8a22a539.tar.bz2 binaryen-35be999879f7af5366c0195dbe45b1fd8a22a539.zip |
update check.py
-rwxr-xr-x | check.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |