[lldb/test] Fix TestAppleSimulatorOSType when multiple runtimes are installed
authorFred Riss <friss@apple.com>
Fri, 29 May 2020 15:29:11 +0000 (08:29 -0700)
committerFred Riss <friss@apple.com>
Fri, 29 May 2020 15:30:04 +0000 (08:30 -0700)
commit977f00123a6d94c634d22356cae1da2a22f0e3df
tree50c0db99b4126883523cf8dce2f28101fbd42fcb
parent68c50708d1f2b9aee3f10ec710df0b1387f701e5
[lldb/test] Fix TestAppleSimulatorOSType when multiple runtimes are installed

One can have multiple simulator runtimes installed, supporting
various generations of OSs. The logic in TestAppleSimulatorOSType
might select a rnutime older than the one targeted by the current
tools, preventing the executable from running. This commit changes
the test to look for the most recent runtime available instead.
lldb/test/API/tools/lldb-server/TestAppleSimulatorOSType.py