summaryrefslogtreecommitdiff
path: root/check.py
diff options
context:
space:
mode:
Diffstat (limited to 'check.py')
-rwxr-xr-xcheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/check.py b/check.py
index e4dfbb0b4..b7e4db698 100755
--- a/check.py
+++ b/check.py
@@ -317,7 +317,7 @@ for t in sorted(os.listdir(os.path.join('test', 'print'))):
cmd = [os.path.join('bin', 'binaryen-shell'), os.path.join('test', 'print', t), '--print-minified']
print ' ', ' '.join(cmd)
actual, err = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
- fail_if_not_identical(actual, open(os.path.join('test', 'print', wasm + '.minified.txt')).read())
+ fail_if_not_identical(actual.strip(), open(os.path.join('test', 'print', wasm + '.minified.txt')).read().strip())
print '\n[ checking binaryen-shell passes... ]\n'