diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-10-22 09:10:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-22 09:10:11 -0700 |
commit | 58123ff10f075100bfb4fc5885cae04607564139 (patch) | |
tree | 8a48f4845d0936abc1934b64598025380b4a5e25 /check.py | |
parent | 9afa80951a3e9e59d5348780370a8b67d829ded1 (diff) | |
parent | 64e9b3fa53e5b4a88ad424f4cdf00f923664246f (diff) | |
download | binaryen-58123ff10f075100bfb4fc5885cae04607564139.tar.gz binaryen-58123ff10f075100bfb4fc5885cae04607564139.tar.bz2 binaryen-58123ff10f075100bfb4fc5885cae04607564139.zip |
Merge pull request #799 from WebAssembly/pass-cleanup
Some tiny pass cleanups
Diffstat (limited to 'check.py')
-rwxr-xr-x | check.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -336,7 +336,7 @@ for t in sorted(os.listdir(os.path.join(options.binaryen_test, 'passes'))): if t.endswith('.wast'): print '..', t passname = os.path.basename(t).replace('.wast', '') - opts = ['-O'] if passname == 'O' else ['--' + p for p in passname.split('_')] + opts = ['-' + passname] if passname.startswith('O') else ['--' + p for p in passname.split('_')] t = os.path.join(options.binaryen_test, 'passes', t) actual = '' for module, asserts in split_wast(t): |