diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-01-23 15:05:26 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-01-23 15:05:26 -0800 |
commit | c4c7ad3cf2f953c542dac8fb53ba944ce77b5fab (patch) | |
tree | f96236e6e61ee78428cd36442cebe1e5e8ba6dd9 | |
parent | 41e9d89fd9bd40f24c4188fae18dcad9d4482635 (diff) |
fix test_pgo
-rwxr-xr-x | tests/runner.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py index cf2e23f7..56717826 100755 --- a/tests/runner.py +++ b/tests/runner.py @@ -5180,8 +5180,9 @@ def process(filename): def check(output): # TODO: check the line # - assert 'Overflow|src.cpp:6 : 60 hits, %20 failures' in output, 'no indication of Overflow corrections: ' + output - assert 'UnSign|src.cpp:13 : 6 hits, %17 failures' in output, 'no indication of Sign corrections: ' + output + if self.emcc_args is None or self.emcc_args == []: # LLVM full opts optimize out some corrections + assert 'Overflow|src.cpp:6 : 60 hits, %20 failures' in output, 'no indication of Overflow corrections: ' + output + assert 'UnSign|src.cpp:13 : 6 hits, %17 failures' in output, 'no indication of Sign corrections: ' + output return output self.do_run(src, '*186854335,63*\n', output_nicerizer=check) |