aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/BinaryStreamWriter.cpp
diff options
context:
space:
mode:
authorAugusto Noronha <augusto2112@me.com>2021-09-06 17:03:47 -0300
committerAugusto Noronha <augusto2112@me.com>2021-09-16 16:38:20 -0300
commit47dd1f642846d476e3d789f4aa941699dc0ed3fe (patch)
treedf71b4f373c8218119eb25f8f5c487ac522f19a4 /llvm/lib/Support/BinaryStreamWriter.cpp
parent45a8608d7ba4519ce890b74db20087ba22343c50 (diff)
downloadllvm-47dd1f642846d476e3d789f4aa941699dc0ed3fe.zip
llvm-47dd1f642846d476e3d789f4aa941699dc0ed3fe.tar.gz
llvm-47dd1f642846d476e3d789f4aa941699dc0ed3fe.tar.bz2
[lldb] Skip TestAppleSimulatorOSType if json parsing fails
xcodebuild, which is invoked by the apple_simulator_test decorator, may may return a successful status even if it was unable to run due to the authorization agent denying it. This causes the TestAppleSimulatorOSType to run when it shouldn't, and throw an excpection when parsing the JSON that lists the simulators available. Wrap the json parsing in a try/except block and if it fails, skip the ttest. Differential Revision: https://reviews.llvm.org/D109336
Diffstat (limited to 'llvm/lib/Support/BinaryStreamWriter.cpp')
0 files changed, 0 insertions, 0 deletions