From 88c643b6fec27eec436c8d138fee6346e92337d6 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Tue, 20 Aug 2019 18:01:57 +0000 Subject: Remove upstream files and directories from vendor/lldb/dist that we do not use. This saves on repository space, and reduces the number of tree conflicts when merging. --- .../python_api/sblaunchinfo/TestSBLaunchInfo.py | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 packages/Python/lldbsuite/test/python_api/sblaunchinfo/TestSBLaunchInfo.py (limited to 'packages/Python/lldbsuite/test/python_api/sblaunchinfo/TestSBLaunchInfo.py') diff --git a/packages/Python/lldbsuite/test/python_api/sblaunchinfo/TestSBLaunchInfo.py b/packages/Python/lldbsuite/test/python_api/sblaunchinfo/TestSBLaunchInfo.py deleted file mode 100644 index ee4a102fc145e..0000000000000 --- a/packages/Python/lldbsuite/test/python_api/sblaunchinfo/TestSBLaunchInfo.py +++ /dev/null @@ -1,31 +0,0 @@ -""" -Test SBLaunchInfo -""" - -from __future__ import print_function - - -from lldbsuite.test.lldbtest import * - - -def lookup(info, key): - for i in range(info.GetNumEnvironmentEntries()): - KeyEqValue = info.GetEnvironmentEntryAtIndex(i) - Key, Value = KeyEqValue.split("=") - if Key == key: - return Value - return "" - -class TestSBLaunchInfo(TestBase): - - mydir = TestBase.compute_mydir(__file__) - NO_DEBUG_INFO_TESTCASE = True - - def test_environment_getset(self): - info = lldb.SBLaunchInfo(None) - info.SetEnvironmentEntries(["FOO=BAR"], False) - self.assertEquals(1, info.GetNumEnvironmentEntries()) - info.SetEnvironmentEntries(["BAR=BAZ"], True) - self.assertEquals(2, info.GetNumEnvironmentEntries()) - self.assertEquals("BAR", lookup(info, "FOO")) - self.assertEquals("BAZ", lookup(info, "BAR")) -- cgit v1.2.3