From f73363f1dd94996356cefbf24388f561891acf0b Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 28 Jul 2018 11:09:23 +0000 Subject: Vendor import of lldb trunk r338150: https://llvm.org/svn/llvm-project/lldb/trunk@338150 --- .../lldbsuite/test/functionalities/platform/TestPlatformPython.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'packages/Python/lldbsuite/test/functionalities/platform/TestPlatformPython.py') diff --git a/packages/Python/lldbsuite/test/functionalities/platform/TestPlatformPython.py b/packages/Python/lldbsuite/test/functionalities/platform/TestPlatformPython.py index 54ea33ad24a9..b81446f5a58f 100644 --- a/packages/Python/lldbsuite/test/functionalities/platform/TestPlatformPython.py +++ b/packages/Python/lldbsuite/test/functionalities/platform/TestPlatformPython.py @@ -49,6 +49,14 @@ class PlatformPythonTestCase(TestBase): break self.assertTrue(platform_found) + @add_test_categories(['pyapi']) + @no_debug_info_test + def test_host_is_connected(self): + # We've already tested that this one IS the host platform. + host_platform = self.dbg.GetPlatformAtIndex(0) + self.assertTrue(host_platform.IsConnected(), "The host platform is always connected") + + @add_test_categories(['pyapi']) @no_debug_info_test def test_available_platform_list(self): -- cgit v1.3