diff options
author | Pete Cooper <peter_cooper@apple.com> | 2016-04-04 16:56:09 +0000 |
---|---|---|
committer | Pete Cooper <peter_cooper@apple.com> | 2016-04-04 16:56:09 +0000 |
commit | 4b35a64cb10f16093601c0e3e3b2ea242b741c70 (patch) | |
tree | 3f188702de14033bc66f65aeca718f4efee01211 /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py | |
parent | 38da8c3bac074d8d5905af10644880ae8efe43fc (diff) | |
download | bcm5719-llvm-4b35a64cb10f16093601c0e3e3b2ea242b741c70.tar.gz bcm5719-llvm-4b35a64cb10f16093601c0e3e3b2ea242b741c70.zip |
Fix test which failed Error migration on Windows bots.
Note, this is https://llvm.org/bugs/show_bug.cgi?id=27187.
The problem here was that just converting an error to a bool doesn't
always set the checked bit. We only set that bit if the Error didn't
actually contain an error. Otherwise we'd end potentially up silently
dropping it.
Instead just use the consumeError method which is designed to allow us
to drop an error.
llvm-svn: 265311
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallUserDefinedFunction.py')
0 files changed, 0 insertions, 0 deletions