[Lldb-commits] [lldb] [lldb] Disallow SHARED_BUILD_TESTCASE for non-default self.build() (PR #188523)
Dave Lee via lldb-commits
lldb-commits at lists.llvm.org
Wed Mar 25 11:46:08 PDT 2026
https://github.com/kastiglione updated https://github.com/llvm/llvm-project/pull/188523
>From 8dd4a94d4a8d63f190b2f2aff394cc12a2f9fa47 Mon Sep 17 00:00:00 2001
From: Dave Lee <davelee.com at gmail.com>
Date: Tue, 24 Mar 2026 16:47:45 -0700
Subject: [PATCH 1/4] [lldb] Disallow SHARED_BUILD_TESTCASE for non-default
self.build()
---
lldb/packages/Python/lldbsuite/test/lldbtest.py | 3 +++
.../API/api/check_public_api_headers/TestPublicAPIHeaders.py | 1 +
.../API/api/command-return-object/TestSBCommandReturnObject.py | 1 +
lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py | 1 +
lldb/test/API/api/multiple-targets/TestMultipleTargets.py | 1 +
lldb/test/API/api/multithreaded/TestMultithreaded.py | 1 +
lldb/test/API/commands/add-dsym/uuid/TestAddDsymCommand.py | 2 ++
lldb/test/API/commands/expression/char/TestExprsChar.py | 2 ++
.../API/commands/expression/weak_symbols/TestWeakSymbols.py | 1 +
lldb/test/API/commands/process/attach/TestProcessAttach.py | 1 +
lldb/test/API/commands/target/basic/TestTargetCommand.py | 2 ++
.../target/dump-separate-debug-info/oso/TestDumpOso.py | 1 +
.../watchpoints/hello_watchlocation/TestWatchLocation.py | 1 +
.../watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py | 1 +
.../watchpoints/watchpoint_commands/TestWatchpointCommands.py | 1 +
.../watchpoint_commands/command/TestWatchpointCommandLLDB.py | 1 +
.../watchpoint_commands/command/TestWatchpointCommandPython.py | 1 +
.../condition/TestWatchpointConditionCmd.py | 1 +
.../watchpoint_on_vectors/TestValueOfVectorVariable.py | 1 +
.../watchpoints/watchpoint_size/TestWatchpointSizes.py | 1 +
lldb/test/API/functionalities/archives/TestBSDArchives.py | 1 +
lldb/test/API/functionalities/asan/TestMemoryHistory.py | 2 ++
.../after_rebuild/TestLocationsAfterRebuild.py | 1 +
.../breakpoint/cpp/TestCPPBreakpointLocations.py | 2 ++
.../data-formatter-objc/TestDataFormatterObjCNSBundle.py | 2 ++
.../data-formatter-objc/TestDataFormatterObjCNSContainer.py | 2 ++
.../data-formatter-objc/TestDataFormatterObjCNSData.py | 2 ++
.../data-formatter-objc/TestDataFormatterObjCNSDate.py | 2 ++
.../data-formatter-objc/TestDataFormatterObjCNSError.py | 2 ++
.../data-formatter-objc/TestDataFormatterObjCNSNumber.py | 2 ++
.../data-formatter-objc/TestDataFormatterObjCNSURL.py | 2 ++
.../data-formatter-objc/TestDataFormatterObjNSException.py | 2 ++
.../generic/atomic/TestDataFormatterStdAtomic.py | 1 +
.../generic/bitset/TestDataFormatterGenericBitset.py | 2 ++
.../generic/chrono/TestDataFormatterStdChrono.py | 2 ++
.../generic/coroutine_handle/TestCoroutineHandle.py | 2 ++
.../generic/deque/TestDataFormatterGenericDeque.py | 1 +
.../forward_list/TestDataFormatterGenericForwardList.py | 1 +
.../generic/function/TestDataFormatterStdFunction.py | 2 ++
.../initializer_list/TestDataFormatterStdInitializerList.py | 2 ++
.../generic/iterator/TestDataFormatterStdIterator.py | 2 ++
.../generic/list/TestDataFormatterGenericList.py | 1 +
.../generic/list/loop/TestDataFormatterGenericListLoop.py | 1 +
.../generic/multimap/TestDataFormatterGenericMultiMap.py | 1 +
.../generic/multiset/TestDataFormatterGenericMultiSet.py | 1 +
.../generic/ordering/TestDataFormatterStdOrdering.py | 1 +
.../generic/queue/TestDataFormatterStdQueue.py | 2 ++
.../ranges/ref_view/TestDataFormatterStdRangesRefView.py | 2 ++
.../generic/set/TestDataFormatterGenericSet.py | 1 +
.../generic/tuple/TestDataFormatterStdTuple.py | 1 +
.../unordered_map-iterator/TestDataFormatterStdUnorderedMap.py | 2 ++
.../generic/valarray/TestDataFormatterStdValarray.py | 2 ++
.../generic/vbool/TestDataFormatterStdVBool.py | 1 +
.../optional/TestDataFormatterLibcxxOptionalSimulator.py | 1 +
.../string/TestDataFormatterLibcxxStringSimulator.py | 1 +
.../unique_ptr/TestDataFormatterLibcxxUniquePtrSimulator.py | 1 +
.../nsdictionarysynth/TestNSDictionarySynthetic.py | 2 ++
.../data-formatter/nssetsynth/TestNSSetSynthetic.py | 2 ++
.../data-formatter/poarray/TestPrintObjectArray.py | 2 ++
.../API/functionalities/gdb_remote_client/TestPlatformKill.py | 2 ++
.../plugins/command_plugin/TestPluginCommands.py | 2 ++
.../plugins/python_os_plugin/os_plugin_in_dsym/TestOSIndSYM.py | 1 +
.../test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py | 2 ++
lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py | 2 ++
lldb/test/API/lang/cpp/forward/TestCPPForwardDeclaration.py | 2 ++
.../API/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py | 2 ++
lldb/test/API/lang/cpp/nested-template/TestNestedTemplate.py | 2 ++
lldb/test/API/lang/cpp/unique-types2/TestUniqueTypes2.py | 2 ++
lldb/test/API/lang/cpp/unique-types4/TestUniqueTypes4.py | 2 ++
.../direct-dispatch-step/TestObjCDirectDispatchStepping.py | 1 +
lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py | 2 ++
lldb/test/API/lang/objc/foundation/TestConstStrings.py | 1 +
lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py | 2 ++
.../API/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py | 2 ++
lldb/test/API/lang/objc/orderedset/TestOrderedSet.py | 2 ++
lldb/test/API/lang/objc/print-obj/TestPrintObj.py | 2 ++
.../API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py | 2 ++
lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py | 2 ++
.../single-entry-dictionary/TestObjCSingleEntryDictionary.py | 2 ++
lldb/test/API/macosx/dsym_modules/TestdSYMModuleInit.py | 2 ++
lldb/test/API/macosx/function-starts/TestFunctionStarts.py | 1 +
lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py | 1 +
.../API/python_api/class_members/TestSBTypeClassMembers.py | 2 ++
lldb/test/API/python_api/formatters/TestFormattersSBAPI.py | 1 +
.../python_api/global_module_cache/TestGlobalModuleCache.py | 1 +
lldb/test/API/python_api/hello_world/TestHelloWorld.py | 1 +
.../test/API/python_api/module_section/TestModuleAndSection.py | 2 ++
lldb/test/API/python_api/target/TestTargetAPI.py | 2 ++
lldb/test/API/python_api/thread/TestThreadAPI.py | 2 ++
lldb/test/API/python_api/value/TestValueAPI.py | 2 ++
.../API/python_api/value/change_values/TestChangeValueAPI.py | 2 ++
.../API/python_api/value/linked_list/TestValueAPILinkedList.py | 1 +
.../test/API/python_api/value_var_update/TestValueVarUpdate.py | 2 ++
.../watchpoint/condition/TestWatchpointConditionAPI.py | 1 +
.../tools/lldb-dap/attach-commands/TestDAP_attachCommands.py | 2 ++
lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py | 2 ++
lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py | 2 ++
.../tools/lldb-server/attach-wait/TestGdbRemoteAttachWait.py | 2 ++
lldb/test/API/types/TestRecursiveTypes.py | 3 ++-
99 files changed, 157 insertions(+), 1 deletion(-)
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index b5e7098550442..4df1595205c1a 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -1530,6 +1530,9 @@ def build(
dictionary=None,
make_targets=None,
):
+ if debug_info or architecture or compiler or dictionary or make_targets:
+ self.assertFalse(self.SHARED_BUILD_TESTCASE)
+
"""Platform specific way to build binaries."""
if not architecture and configuration.arch:
architecture = configuration.arch
diff --git a/lldb/test/API/api/check_public_api_headers/TestPublicAPIHeaders.py b/lldb/test/API/api/check_public_api_headers/TestPublicAPIHeaders.py
index 60ca8557d60b9..82d92ccd393ec 100644
--- a/lldb/test/API/api/check_public_api_headers/TestPublicAPIHeaders.py
+++ b/lldb/test/API/api/check_public_api_headers/TestPublicAPIHeaders.py
@@ -12,6 +12,7 @@
@skipIfRemote
@skipUnlessDarwin
class SBDirCheckerCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py b/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py
index f8632fd720325..41a39f0597bad 100644
--- a/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py
+++ b/lldb/test/API/api/command-return-object/TestSBCommandReturnObject.py
@@ -8,6 +8,7 @@
class TestSBCommandReturnObject(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
@skipIfNoSBHeaders
diff --git a/lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py b/lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py
index 7d6fdd444791e..fb3cad9b78b35 100644
--- a/lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py
+++ b/lldb/test/API/api/multiple-debuggers/TestMultipleDebuggers.py
@@ -10,6 +10,7 @@
class TestMultipleSimultaneousDebuggers(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
# Times out on heavily loaded Linux buildbots, don't want to get into tweaking
diff --git a/lldb/test/API/api/multiple-targets/TestMultipleTargets.py b/lldb/test/API/api/multiple-targets/TestMultipleTargets.py
index 08e214e2bcaba..6eec6559fbef5 100644
--- a/lldb/test/API/api/multiple-targets/TestMultipleTargets.py
+++ b/lldb/test/API/api/multiple-targets/TestMultipleTargets.py
@@ -9,6 +9,7 @@
class TestMultipleTargets(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
diff --git a/lldb/test/API/api/multithreaded/TestMultithreaded.py b/lldb/test/API/api/multithreaded/TestMultithreaded.py
index d5b29ec7af181..6cff2b1039582 100644
--- a/lldb/test/API/api/multithreaded/TestMultithreaded.py
+++ b/lldb/test/API/api/multithreaded/TestMultithreaded.py
@@ -10,6 +10,7 @@
@skipIfNoSBHeaders
class SBBreakpointCallbackCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/commands/add-dsym/uuid/TestAddDsymCommand.py b/lldb/test/API/commands/add-dsym/uuid/TestAddDsymCommand.py
index d16ca32d79e68..ba03f397277fc 100644
--- a/lldb/test/API/commands/add-dsym/uuid/TestAddDsymCommand.py
+++ b/lldb/test/API/commands/add-dsym/uuid/TestAddDsymCommand.py
@@ -11,6 +11,8 @@
@skipUnlessDarwin
class AddDsymCommandCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
TestBase.setUp(self)
self.template = "main.cpp.template"
diff --git a/lldb/test/API/commands/expression/char/TestExprsChar.py b/lldb/test/API/commands/expression/char/TestExprsChar.py
index f2db50d7b6d13..63acbee0bf3c8 100644
--- a/lldb/test/API/commands/expression/char/TestExprsChar.py
+++ b/lldb/test/API/commands/expression/char/TestExprsChar.py
@@ -5,6 +5,8 @@
class ExprCharTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def do_test(self, dictionary=None):
"""These basic expression commands should work as expected."""
self.build(dictionary=dictionary)
diff --git a/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py b/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py
index bed129a7a7a8c..4783dd98aa829 100644
--- a/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py
+++ b/lldb/test/API/commands/expression/weak_symbols/TestWeakSymbols.py
@@ -12,6 +12,7 @@
class TestWeakSymbolsInExpressions(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
@skipUnlessDarwin
diff --git a/lldb/test/API/commands/process/attach/TestProcessAttach.py b/lldb/test/API/commands/process/attach/TestProcessAttach.py
index 8a61e74007f85..15d07737585aa 100644
--- a/lldb/test/API/commands/process/attach/TestProcessAttach.py
+++ b/lldb/test/API/commands/process/attach/TestProcessAttach.py
@@ -14,6 +14,7 @@
class ProcessAttachTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/commands/target/basic/TestTargetCommand.py b/lldb/test/API/commands/target/basic/TestTargetCommand.py
index d91a3e0edb715..dd6bdb234108a 100644
--- a/lldb/test/API/commands/target/basic/TestTargetCommand.py
+++ b/lldb/test/API/commands/target/basic/TestTargetCommand.py
@@ -13,6 +13,8 @@
class targetCommandTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/commands/target/dump-separate-debug-info/oso/TestDumpOso.py b/lldb/test/API/commands/target/dump-separate-debug-info/oso/TestDumpOso.py
index 4e7560338b1d4..9be36f9811f47 100644
--- a/lldb/test/API/commands/target/dump-separate-debug-info/oso/TestDumpOso.py
+++ b/lldb/test/API/commands/target/dump-separate-debug-info/oso/TestDumpOso.py
@@ -10,6 +10,7 @@
class TestDumpOso(lldbtest.TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def get_osos_from_json_output(self):
diff --git a/lldb/test/API/commands/watchpoints/hello_watchlocation/TestWatchLocation.py b/lldb/test/API/commands/watchpoints/hello_watchlocation/TestWatchLocation.py
index 8e3133864ee59..401c228cc4187 100644
--- a/lldb/test/API/commands/watchpoints/hello_watchlocation/TestWatchLocation.py
+++ b/lldb/test/API/commands/watchpoints/hello_watchlocation/TestWatchLocation.py
@@ -11,6 +11,7 @@
class HelloWatchLocationTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py b/lldb/test/API/commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py
index c3412f9de6215..d8270c5e89c15 100644
--- a/lldb/test/API/commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py
+++ b/lldb/test/API/commands/watchpoints/hello_watchpoint/TestMyFirstWatchpoint.py
@@ -10,6 +10,7 @@
class HelloWatchpointTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py b/lldb/test/API/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py
index d40d14bbe6d66..203cbf53e1056 100644
--- a/lldb/test/API/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py
+++ b/lldb/test/API/commands/watchpoints/watchpoint_commands/TestWatchpointCommands.py
@@ -10,6 +10,7 @@
class WatchpointCommandsTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandLLDB.py b/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandLLDB.py
index cc1fd8594a1f2..c46eabee9bb02 100644
--- a/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandLLDB.py
+++ b/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandLLDB.py
@@ -10,6 +10,7 @@
class WatchpointLLDBCommandTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py b/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py
index 57dd214ba6398..f4d446077135b 100644
--- a/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py
+++ b/lldb/test/API/commands/watchpoints/watchpoint_commands/command/TestWatchpointCommandPython.py
@@ -11,6 +11,7 @@
class WatchpointPythonCommandTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py b/lldb/test/API/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py
index 3a60859b9ce7d..a01c65207fe5f 100644
--- a/lldb/test/API/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py
+++ b/lldb/test/API/commands/watchpoints/watchpoint_commands/condition/TestWatchpointConditionCmd.py
@@ -10,6 +10,7 @@
class WatchpointConditionCmdTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/commands/watchpoints/watchpoint_on_vectors/TestValueOfVectorVariable.py b/lldb/test/API/commands/watchpoints/watchpoint_on_vectors/TestValueOfVectorVariable.py
index 0a2b1fa5bbba0..e48d9d114c955 100644
--- a/lldb/test/API/commands/watchpoints/watchpoint_on_vectors/TestValueOfVectorVariable.py
+++ b/lldb/test/API/commands/watchpoints/watchpoint_on_vectors/TestValueOfVectorVariable.py
@@ -10,6 +10,7 @@
class TestValueOfVectorVariableTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def test_value_of_vector_variable_using_watchpoint_set(self):
diff --git a/lldb/test/API/commands/watchpoints/watchpoint_size/TestWatchpointSizes.py b/lldb/test/API/commands/watchpoints/watchpoint_size/TestWatchpointSizes.py
index d34a96266119f..a29b6a76c2e63 100644
--- a/lldb/test/API/commands/watchpoints/watchpoint_size/TestWatchpointSizes.py
+++ b/lldb/test/API/commands/watchpoints/watchpoint_size/TestWatchpointSizes.py
@@ -13,6 +13,7 @@
class WatchpointSizeTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/functionalities/archives/TestBSDArchives.py b/lldb/test/API/functionalities/archives/TestBSDArchives.py
index 88acafdd9e22a..44222b0317689 100644
--- a/lldb/test/API/functionalities/archives/TestBSDArchives.py
+++ b/lldb/test/API/functionalities/archives/TestBSDArchives.py
@@ -10,6 +10,7 @@
class BSDArchivesTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
# If your test case doesn't stress debug info, then
# set this to true. That way it won't be run once for
# each debug info format.
diff --git a/lldb/test/API/functionalities/asan/TestMemoryHistory.py b/lldb/test/API/functionalities/asan/TestMemoryHistory.py
index 8ae2d4a60d60c..f3864f521127b 100644
--- a/lldb/test/API/functionalities/asan/TestMemoryHistory.py
+++ b/lldb/test/API/functionalities/asan/TestMemoryHistory.py
@@ -11,6 +11,8 @@
class MemoryHistoryTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
@skipIfFreeBSD # llvm.org/pr21136 runtimes not yet available by default
@expectedFailureNetBSD
@skipUnlessAddressSanitizer
diff --git a/lldb/test/API/functionalities/breakpoint/breakpoint_locations/after_rebuild/TestLocationsAfterRebuild.py b/lldb/test/API/functionalities/breakpoint/breakpoint_locations/after_rebuild/TestLocationsAfterRebuild.py
index bc53feaafa635..b0d00d49d4839 100644
--- a/lldb/test/API/functionalities/breakpoint/breakpoint_locations/after_rebuild/TestLocationsAfterRebuild.py
+++ b/lldb/test/API/functionalities/breakpoint/breakpoint_locations/after_rebuild/TestLocationsAfterRebuild.py
@@ -12,6 +12,7 @@
class TestLocationsAfterRebuild(TestBase):
+ SHARED_BUILD_TESTCASE = False
# If your test case doesn't stress debug info, then
# set this to true. That way it won't be run once for
# each debug info format.
diff --git a/lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py b/lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py
index 84bd170e26613..6b4525f541269 100644
--- a/lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py
+++ b/lldb/test/API/functionalities/breakpoint/cpp/TestCPPBreakpointLocations.py
@@ -9,6 +9,8 @@
class TestCPPBreakpointLocations(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr24764")
def test(self):
self.do_test(dict())
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSBundle.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSBundle.py
index cd3b5f9799e06..e1962bd898d89 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSBundle.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSBundle.py
@@ -13,6 +13,8 @@
class ObjCDataFormatterNSBundle(ObjCDataFormatterTestCase):
+ SHARED_BUILD_TESTCASE = False
+
def test_nsbundle_with_run_command(self):
"""Test formatters for NSBundle."""
self.appkit_tester_impl(self.nsbundle_data_formatter_commands, True)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSContainer.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSContainer.py
index e6fb549945666..e2ef466ac9a4f 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSContainer.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSContainer.py
@@ -13,6 +13,8 @@
class ObjCDataFormatterNSContainer(ObjCDataFormatterTestCase):
+ SHARED_BUILD_TESTCASE = False
+
def test_nscontainers_with_run_command(self):
"""Test formatters for NS container classes."""
self.appkit_tester_impl(self.nscontainers_data_formatter_commands, False)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSData.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSData.py
index f26a4543d1648..0748e4a446752 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSData.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSData.py
@@ -13,6 +13,8 @@
class ObjCDataFormatterNSData(ObjCDataFormatterTestCase):
+ SHARED_BUILD_TESTCASE = False
+
def test_nsdata_with_run_command(self):
"""Test formatters for NSData."""
self.appkit_tester_impl(self.nsdata_data_formatter_commands, True)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py
index c95b454a16d1f..6118bd3e5dbc3 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py
@@ -15,6 +15,8 @@
class ObjCDataFormatterNSDate(ObjCDataFormatterTestCase):
+ SHARED_BUILD_TESTCASE = False
+
def test_nsdate_with_run_command(self):
"""Test formatters for NSDate."""
self.appkit_tester_impl(self.nsdate_data_formatter_commands, False)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSError.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSError.py
index 94955661fde98..a4480b9b2d6bd 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSError.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSError.py
@@ -13,6 +13,8 @@
class ObjCDataFormatterNSError(ObjCDataFormatterTestCase):
+ SHARED_BUILD_TESTCASE = False
+
def test_nserror_with_run_command(self):
"""Test formatters for NSError."""
self.appkit_tester_impl(self.nserror_data_formatter_commands, True)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSNumber.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSNumber.py
index ba6f891ea32e1..06060642a3dca 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSNumber.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSNumber.py
@@ -12,6 +12,8 @@
class ObjCDataFormatterNSNumber(ObjCDataFormatterTestCase):
+ SHARED_BUILD_TESTCASE = False
+
@skipUnlessDarwin
def test_nsnumber_with_run_command(self):
"""Test formatters for NS container classes."""
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSURL.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSURL.py
index 8cf2229b29a62..32b7fa0a723ec 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSURL.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSURL.py
@@ -13,6 +13,8 @@
class ObjCDataFormatterNSURL(ObjCDataFormatterTestCase):
+ SHARED_BUILD_TESTCASE = False
+
def test_nsurl_with_run_command(self):
"""Test formatters for NSURL."""
self.appkit_tester_impl(self.nsurl_data_formatter_commands, True)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjNSException.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjNSException.py
index cfccb0d2ad837..55f8ba8d462ea 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjNSException.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjNSException.py
@@ -13,6 +13,8 @@
class ObjCDataFormatterNSException(ObjCDataFormatterTestCase):
+ SHARED_BUILD_TESTCASE = False
+
def test_nsexception_with_run_command(self):
"""Test formatters for NSException."""
self.appkit_tester_impl(self.nsexception_data_formatter_commands, True)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/TestDataFormatterStdAtomic.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/TestDataFormatterStdAtomic.py
index 67c2c359c9afb..26ed282781f63 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/TestDataFormatterStdAtomic.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/atomic/TestDataFormatterStdAtomic.py
@@ -10,6 +10,7 @@
class StdAtomicTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
TEST_WITH_PDB_DEBUG_INFO = True
def get_variable(self, name):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py
index 00eba10a40a49..d84c2949c8a75 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/bitset/TestDataFormatterGenericBitset.py
@@ -13,6 +13,8 @@
class GenericBitsetDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
TestBase.setUp(self)
primes = [1] * 1000
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/chrono/TestDataFormatterStdChrono.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/chrono/TestDataFormatterStdChrono.py
index 013a1787bc4bf..762698a8e8a13 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/chrono/TestDataFormatterStdChrono.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/chrono/TestDataFormatterStdChrono.py
@@ -9,6 +9,8 @@
class StdChronoDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def do_test(self):
"""Test that that file and class static variables display correctly."""
isNotWindowsHost = lldbplatformutil.getHostPlatform() != "windows"
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py
index 8a79b59e871af..21a5c6ec792d9 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/coroutine_handle/TestCoroutineHandle.py
@@ -9,6 +9,8 @@
class TestCoroutineHandle(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def do_test(self):
"""Test std::coroutine_handle is displayed correctly."""
is_clang = self.expectedCompiler(["clang"])
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py
index 2b22281a87318..d2924f1de3b57 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/deque/TestDataFormatterGenericDeque.py
@@ -5,6 +5,7 @@
class GenericDequeDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
TEST_WITH_PDB_DEBUG_INFO = True
def findVariable(self, name):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
index 1db0c489bc7f9..a3dcce90b74e9 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/forward_list/TestDataFormatterGenericForwardList.py
@@ -9,6 +9,7 @@
class TestDataFormatterGenericForwardList(TestBase):
+ SHARED_BUILD_TESTCASE = False
TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/function/TestDataFormatterStdFunction.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/function/TestDataFormatterStdFunction.py
index f4e0cd2f2b3dc..43f085240df43 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/function/TestDataFormatterStdFunction.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/function/TestDataFormatterStdFunction.py
@@ -9,6 +9,8 @@
class StdFunctionTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
# Run frame var for a variable twice. Verify we do not hit the cache
# the first time but do the second time.
def run_frame_var_check_cache_use(
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/initializer_list/TestDataFormatterStdInitializerList.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/initializer_list/TestDataFormatterStdInitializerList.py
index 38d8cdb01ba90..1d7e689c36d06 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/initializer_list/TestDataFormatterStdInitializerList.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/initializer_list/TestDataFormatterStdInitializerList.py
@@ -10,6 +10,8 @@
class InitializerListTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def do_test(self):
self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/iterator/TestDataFormatterStdIterator.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/iterator/TestDataFormatterStdIterator.py
index 373b1c9a2c8e8..56aaf4078f18e 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/iterator/TestDataFormatterStdIterator.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/iterator/TestDataFormatterStdIterator.py
@@ -9,6 +9,8 @@
class StdIteratorDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
index fbd021190214b..1be1bfc3fc19d 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/TestDataFormatterGenericList.py
@@ -10,6 +10,7 @@
class GenericListDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py
index 9c5daf760b31f..033246deb0faa 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/list/loop/TestDataFormatterGenericListLoop.py
@@ -11,6 +11,7 @@
class GenericListDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
TEST_WITH_PDB_DEBUG_INFO = True
NO_DEBUG_INFO_TESTCASE = True
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
index 4b0854b180e0a..0486956ade630 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multimap/TestDataFormatterGenericMultiMap.py
@@ -11,6 +11,7 @@
class GenericMultiMapDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py
index e846e072777f8..d5cd57cafea6e 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/multiset/TestDataFormatterGenericMultiSet.py
@@ -10,6 +10,7 @@
class GenericMultiSetDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ordering/TestDataFormatterStdOrdering.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ordering/TestDataFormatterStdOrdering.py
index b5895792ee4cf..03cae6531e72a 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ordering/TestDataFormatterStdOrdering.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ordering/TestDataFormatterStdOrdering.py
@@ -9,6 +9,7 @@
class StdOrderingTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
TEST_WITH_PDB_DEBUG_INFO = True
def do_test(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/queue/TestDataFormatterStdQueue.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/queue/TestDataFormatterStdQueue.py
index ac729c5bacb0f..d5ae06bd057c4 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/queue/TestDataFormatterStdQueue.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/queue/TestDataFormatterStdQueue.py
@@ -9,6 +9,8 @@
class TestDataFormatterStdQueue(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
TestBase.setUp(self)
self.namespace = "std"
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ranges/ref_view/TestDataFormatterStdRangesRefView.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ranges/ref_view/TestDataFormatterStdRangesRefView.py
index 9ba10575d6fe1..924b5ddfbc5e7 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ranges/ref_view/TestDataFormatterStdRangesRefView.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/ranges/ref_view/TestDataFormatterStdRangesRefView.py
@@ -9,6 +9,8 @@
class StdRangesRefViewDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def check_string_vec_children(self):
return [
ValueCheck(name="[0]", summary='"First"'),
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py
index 355f0c6edba19..3063d23b9d9ef 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/set/TestDataFormatterGenericSet.py
@@ -10,6 +10,7 @@
class GenericSetDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/TestDataFormatterStdTuple.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/TestDataFormatterStdTuple.py
index 898438729ff8f..5cf409c4b0c2c 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/TestDataFormatterStdTuple.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/tuple/TestDataFormatterStdTuple.py
@@ -9,6 +9,7 @@
class TestDataFormatterStdTuple(TestBase):
+ SHARED_BUILD_TESTCASE = False
TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered_map-iterator/TestDataFormatterStdUnorderedMap.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered_map-iterator/TestDataFormatterStdUnorderedMap.py
index 45f7b5be465c5..1def60e2c4468 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered_map-iterator/TestDataFormatterStdUnorderedMap.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/unordered_map-iterator/TestDataFormatterStdUnorderedMap.py
@@ -9,6 +9,8 @@
class StdUnorderedMapDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def check_ptr_or_ref(self, var_name: str):
var = self.frame().FindVariable(var_name)
self.assertTrue(var)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/valarray/TestDataFormatterStdValarray.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/valarray/TestDataFormatterStdValarray.py
index f94be3a658efd..6386e431f80c6 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/valarray/TestDataFormatterStdValarray.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/valarray/TestDataFormatterStdValarray.py
@@ -9,6 +9,8 @@
class StdValarrayDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def do_test(self):
(self.target, process, thread, bkpt) = lldbutil.run_to_source_breakpoint(
self, "break here", lldb.SBFileSpec("main.cpp", False)
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py
index 03ebcba471776..3145f4e9bab76 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/generic/vbool/TestDataFormatterStdVBool.py
@@ -9,6 +9,7 @@
class StdVBoolDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
TEST_WITH_PDB_DEBUG_INFO = True
def setUp(self):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/optional/TestDataFormatterLibcxxOptionalSimulator.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/optional/TestDataFormatterLibcxxOptionalSimulator.py
index 75c61882e77f4..8de2f5b1d41aa 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/optional/TestDataFormatterLibcxxOptionalSimulator.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/optional/TestDataFormatterLibcxxOptionalSimulator.py
@@ -11,6 +11,7 @@
class LibcxxOptionalDataFormatterSimulatorTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def _run_test(self, defines):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/TestDataFormatterLibcxxStringSimulator.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/TestDataFormatterLibcxxStringSimulator.py
index f27fc2e3c4569..0649736da04e5 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/TestDataFormatterLibcxxStringSimulator.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/string/TestDataFormatterLibcxxStringSimulator.py
@@ -11,6 +11,7 @@
class LibcxxStringDataFormatterSimulatorTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def _run_test(self, defines):
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/unique_ptr/TestDataFormatterLibcxxUniquePtrSimulator.py b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/unique_ptr/TestDataFormatterLibcxxUniquePtrSimulator.py
index 1e25ac9472034..dbd70a3d6b51b 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/unique_ptr/TestDataFormatterLibcxxUniquePtrSimulator.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx-simulators/unique_ptr/TestDataFormatterLibcxxUniquePtrSimulator.py
@@ -11,6 +11,7 @@
class LibcxxUniquePtrDataFormatterSimulatorTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def _run_test(self, defines):
diff --git a/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py b/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py
index cd60227572be4..3bf92b6a7e300 100644
--- a/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py
+++ b/lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py
@@ -9,6 +9,8 @@
class NSDictionarySyntheticTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py b/lldb/test/API/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py
index 1037e75c17eb3..814585d7b9bf1 100644
--- a/lldb/test/API/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py
+++ b/lldb/test/API/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py
@@ -10,6 +10,8 @@
class NSSetSyntheticTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py b/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py
index db86f48f8ec1f..04c9579b4f4cf 100644
--- a/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py
+++ b/lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py
@@ -10,6 +10,8 @@
class PrintObjectArrayTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
@skipUnlessDarwin
def test_print_array(self):
"""Test that expr -O -Z works"""
diff --git a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformKill.py b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformKill.py
index 430f1871d3b30..1ac0040b6988b 100644
--- a/lldb/test/API/functionalities/gdb_remote_client/TestPlatformKill.py
+++ b/lldb/test/API/functionalities/gdb_remote_client/TestPlatformKill.py
@@ -7,6 +7,8 @@
class TestPlatformKill(GDBRemoteTestBase):
+ SHARED_BUILD_TESTCASE = False
+
@skipIfRemote
def test_kill_different_platform(self):
"""Test connecting to a remote linux platform"""
diff --git a/lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py b/lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py
index f7fb0ed7fd680..263b0da079c3c 100644
--- a/lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py
+++ b/lldb/test/API/functionalities/plugins/command_plugin/TestPluginCommands.py
@@ -9,6 +9,8 @@
class PluginCommandTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
TestBase.setUp(self)
diff --git a/lldb/test/API/functionalities/plugins/python_os_plugin/os_plugin_in_dsym/TestOSIndSYM.py b/lldb/test/API/functionalities/plugins/python_os_plugin/os_plugin_in_dsym/TestOSIndSYM.py
index f0d192be661bb..87a00e70e3810 100644
--- a/lldb/test/API/functionalities/plugins/python_os_plugin/os_plugin_in_dsym/TestOSIndSYM.py
+++ b/lldb/test/API/functionalities/plugins/python_os_plugin/os_plugin_in_dsym/TestOSIndSYM.py
@@ -16,6 +16,7 @@
class TestOSPluginIndSYM(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
# The port used by debugserver.
diff --git a/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py b/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py
index 5e062dba71189..7ceb2d5ac38dd 100644
--- a/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py
+++ b/lldb/test/API/iohandler/sigint/TestProcessIOHandlerInterrupt.py
@@ -11,6 +11,8 @@
class TestCase(PExpectTest):
+ SHARED_BUILD_TESTCASE = False
+
@skipIf(macos_version=["<", "14.0"], asan=True)
@skipIf(compiler="clang", compiler_version=["<", "11.0"])
@skipIf(oslist=["linux"], archs=["arm$", "aarch64"])
diff --git a/lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py b/lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py
index 3279ff8d32db9..ba05bd2f205cc 100644
--- a/lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py
+++ b/lldb/test/API/lang/cpp/dynamic-value/TestCppValueCast.py
@@ -9,6 +9,8 @@
class CppValueCastTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
@skipIf(bugnumber="llvm.org/PR36714")
@add_test_categories(["pyapi"])
def test_value_cast_with_virtual_inheritance(self):
diff --git a/lldb/test/API/lang/cpp/forward/TestCPPForwardDeclaration.py b/lldb/test/API/lang/cpp/forward/TestCPPForwardDeclaration.py
index e66ab4fa71100..3c78fb38ff0f5 100644
--- a/lldb/test/API/lang/cpp/forward/TestCPPForwardDeclaration.py
+++ b/lldb/test/API/lang/cpp/forward/TestCPPForwardDeclaration.py
@@ -7,6 +7,8 @@
class ForwardDeclarationTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def do_test(self, dictionary=None):
"""Display *bar_ptr when stopped on a function with forward declaration of struct bar."""
self.build(dictionary=dictionary)
diff --git a/lldb/test/API/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py b/lldb/test/API/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py
index ebd9e662c3d40..38a9931398425 100644
--- a/lldb/test/API/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py
+++ b/lldb/test/API/lang/cpp/limit-debug-info/TestWithLimitDebugInfo.py
@@ -5,6 +5,8 @@
class TestWithLimitDebugInfo(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def _run_test(self, build_dict):
self.build(dictionary=build_dict)
diff --git a/lldb/test/API/lang/cpp/nested-template/TestNestedTemplate.py b/lldb/test/API/lang/cpp/nested-template/TestNestedTemplate.py
index 055a8e6e21042..84abb468a7f00 100644
--- a/lldb/test/API/lang/cpp/nested-template/TestNestedTemplate.py
+++ b/lldb/test/API/lang/cpp/nested-template/TestNestedTemplate.py
@@ -9,6 +9,8 @@
class NestedTemplateTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def do_test(self, debug_flags):
self.build(dictionary=debug_flags)
self.dbg.CreateTarget(self.getBuildArtifact("a.out"))
diff --git a/lldb/test/API/lang/cpp/unique-types2/TestUniqueTypes2.py b/lldb/test/API/lang/cpp/unique-types2/TestUniqueTypes2.py
index 19e05b1a592b5..defb41cd8bcac 100644
--- a/lldb/test/API/lang/cpp/unique-types2/TestUniqueTypes2.py
+++ b/lldb/test/API/lang/cpp/unique-types2/TestUniqueTypes2.py
@@ -9,6 +9,8 @@
class UniqueTypesTestCase2(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def do_test(self, debug_flags):
"""Test that we only display the requested Foo instantiation, not all Foo instantiations."""
self.build(dictionary=debug_flags)
diff --git a/lldb/test/API/lang/cpp/unique-types4/TestUniqueTypes4.py b/lldb/test/API/lang/cpp/unique-types4/TestUniqueTypes4.py
index 259899ea87f89..59f84d46a548a 100644
--- a/lldb/test/API/lang/cpp/unique-types4/TestUniqueTypes4.py
+++ b/lldb/test/API/lang/cpp/unique-types4/TestUniqueTypes4.py
@@ -9,6 +9,8 @@
class UniqueTypesTestCase4(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def do_test(self, debug_flags):
"""Test that we display the correct template instantiation."""
self.build(dictionary=debug_flags)
diff --git a/lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py b/lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py
index ff485bab93b5a..a7020fba9f05d 100644
--- a/lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py
+++ b/lldb/test/API/lang/objc/direct-dispatch-step/TestObjCDirectDispatchStepping.py
@@ -7,6 +7,7 @@
class TestObjCDirectDispatchStepping(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py b/lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py
index a157da362a873..05374c6134bce 100644
--- a/lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py
+++ b/lldb/test/API/lang/objc/forward-decl/TestForwardDecl.py
@@ -8,6 +8,8 @@
class ForwardDeclTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/lang/objc/foundation/TestConstStrings.py b/lldb/test/API/lang/objc/foundation/TestConstStrings.py
index 4d64a7c417ad1..a8506699ad05a 100644
--- a/lldb/test/API/lang/objc/foundation/TestConstStrings.py
+++ b/lldb/test/API/lang/objc/foundation/TestConstStrings.py
@@ -11,6 +11,7 @@
class ConstStringTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
d = {"OBJC_SOURCES": "const-strings.m"}
def setUp(self):
diff --git a/lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py b/lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py
index e2f78139ae66b..b307c4604d9c2 100644
--- a/lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py
+++ b/lldb/test/API/lang/objc/foundation/TestObjectDescriptionAPI.py
@@ -9,6 +9,8 @@
class ObjectDescriptionAPITestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py b/lldb/test/API/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py
index 5efaa9e65a170..eb2e4a673eb16 100644
--- a/lldb/test/API/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py
+++ b/lldb/test/API/lang/objc/objc-dyn-sbtype/TestObjCDynamicSBType.py
@@ -10,6 +10,8 @@
class ObjCDynamicSBTypeTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/lang/objc/orderedset/TestOrderedSet.py b/lldb/test/API/lang/objc/orderedset/TestOrderedSet.py
index a7d6d9d155efc..fb5b02a6f9013 100644
--- a/lldb/test/API/lang/objc/orderedset/TestOrderedSet.py
+++ b/lldb/test/API/lang/objc/orderedset/TestOrderedSet.py
@@ -5,6 +5,8 @@
class TestOrderedSet(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def test_ordered_set(self):
self.build()
self.run_tests()
diff --git a/lldb/test/API/lang/objc/print-obj/TestPrintObj.py b/lldb/test/API/lang/objc/print-obj/TestPrintObj.py
index 3ad4a09b53206..73ffce8b4b1f3 100644
--- a/lldb/test/API/lang/objc/print-obj/TestPrintObj.py
+++ b/lldb/test/API/lang/objc/print-obj/TestPrintObj.py
@@ -9,6 +9,8 @@
class PrintObjTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py b/lldb/test/API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
index 58604d1d21b5c..172893d65e599 100644
--- a/lldb/test/API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
+++ b/lldb/test/API/lang/objc/radar-9691614/TestObjCMethodReturningBOOL.py
@@ -10,6 +10,8 @@
class MethodReturningBOOLTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py b/lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py
index 60906c1c8adb7..3948940d4ddbd 100644
--- a/lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py
+++ b/lldb/test/API/lang/objc/rdar-10967107/TestRdar10967107.py
@@ -10,6 +10,8 @@
class Rdar10967107TestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py b/lldb/test/API/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py
index 8debe731dfe1a..748d727ef62dc 100644
--- a/lldb/test/API/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py
+++ b/lldb/test/API/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py
@@ -8,6 +8,8 @@
class ObjCSingleEntryDictionaryTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/macosx/dsym_modules/TestdSYMModuleInit.py b/lldb/test/API/macosx/dsym_modules/TestdSYMModuleInit.py
index 7479fec6aa8a2..77625356eb37e 100644
--- a/lldb/test/API/macosx/dsym_modules/TestdSYMModuleInit.py
+++ b/lldb/test/API/macosx/dsym_modules/TestdSYMModuleInit.py
@@ -13,6 +13,8 @@
@skipUnlessDarwin
class TestdSYMModuleInit(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
@no_debug_info_test
def test_add_module(self):
"""This loads a file into a target and ensures that the python module was
diff --git a/lldb/test/API/macosx/function-starts/TestFunctionStarts.py b/lldb/test/API/macosx/function-starts/TestFunctionStarts.py
index 80b042827fb11..9a3e6a6a9aad0 100644
--- a/lldb/test/API/macosx/function-starts/TestFunctionStarts.py
+++ b/lldb/test/API/macosx/function-starts/TestFunctionStarts.py
@@ -12,6 +12,7 @@
class FunctionStartsTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
@skipIfRemote
diff --git a/lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py b/lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py
index 74d6307d3987d..8ade2beee8de5 100644
--- a/lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py
+++ b/lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py
@@ -18,6 +18,7 @@
class DarwinNSLogOutputTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py b/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py
index 5ad2a073be585..433c4377f4c1e 100644
--- a/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py
+++ b/lldb/test/API/python_api/class_members/TestSBTypeClassMembers.py
@@ -10,6 +10,8 @@
class SBTypeMemberFunctionsTest(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/python_api/formatters/TestFormattersSBAPI.py b/lldb/test/API/python_api/formatters/TestFormattersSBAPI.py
index c01c466b70c82..f9230df873e25 100644
--- a/lldb/test/API/python_api/formatters/TestFormattersSBAPI.py
+++ b/lldb/test/API/python_api/formatters/TestFormattersSBAPI.py
@@ -7,6 +7,7 @@
class SBFormattersAPITestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py b/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
index 235022c7e3814..10f83a48b48d0 100644
--- a/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
+++ b/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
@@ -14,6 +14,7 @@
class GlobalModuleCacheTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
# NO_DEBUG_INFO_TESTCASE = True
def check_counter_var(self, thread, value):
diff --git a/lldb/test/API/python_api/hello_world/TestHelloWorld.py b/lldb/test/API/python_api/hello_world/TestHelloWorld.py
index e7b5c04d54fec..ab8814281677f 100644
--- a/lldb/test/API/python_api/hello_world/TestHelloWorld.py
+++ b/lldb/test/API/python_api/hello_world/TestHelloWorld.py
@@ -10,6 +10,7 @@
class HelloWorldTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/python_api/module_section/TestModuleAndSection.py b/lldb/test/API/python_api/module_section/TestModuleAndSection.py
index 96b53563d5dfa..6086370375757 100644
--- a/lldb/test/API/python_api/module_section/TestModuleAndSection.py
+++ b/lldb/test/API/python_api/module_section/TestModuleAndSection.py
@@ -10,6 +10,8 @@
class ModuleAndSectionAPIsTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def test_module_and_section(self):
"""Test module and section APIs."""
self.build()
diff --git a/lldb/test/API/python_api/target/TestTargetAPI.py b/lldb/test/API/python_api/target/TestTargetAPI.py
index 27b606fe61716..a6ab745e0b3b9 100644
--- a/lldb/test/API/python_api/target/TestTargetAPI.py
+++ b/lldb/test/API/python_api/target/TestTargetAPI.py
@@ -10,6 +10,8 @@
class TargetAPITestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/python_api/thread/TestThreadAPI.py b/lldb/test/API/python_api/thread/TestThreadAPI.py
index acad7583eec19..6d87e1810106c 100644
--- a/lldb/test/API/python_api/thread/TestThreadAPI.py
+++ b/lldb/test/API/python_api/thread/TestThreadAPI.py
@@ -10,6 +10,8 @@
class ThreadAPITestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def test_get_process(self):
"""Test Python SBThread.GetProcess() API."""
self.build()
diff --git a/lldb/test/API/python_api/value/TestValueAPI.py b/lldb/test/API/python_api/value/TestValueAPI.py
index 907992bf05c04..dba5f959ba60d 100644
--- a/lldb/test/API/python_api/value/TestValueAPI.py
+++ b/lldb/test/API/python_api/value/TestValueAPI.py
@@ -9,6 +9,8 @@
class ValueAPITestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/python_api/value/change_values/TestChangeValueAPI.py b/lldb/test/API/python_api/value/change_values/TestChangeValueAPI.py
index 4c253faccf7c9..a669cff9ff597 100644
--- a/lldb/test/API/python_api/value/change_values/TestChangeValueAPI.py
+++ b/lldb/test/API/python_api/value/change_values/TestChangeValueAPI.py
@@ -9,6 +9,8 @@
class ChangeValueAPITestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py b/lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py
index 2053583c04475..9f11b310cf1c8 100644
--- a/lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py
+++ b/lldb/test/API/python_api/value/linked_list/TestValueAPILinkedList.py
@@ -10,6 +10,7 @@
class ValueAsLinkedListTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/python_api/value_var_update/TestValueVarUpdate.py b/lldb/test/API/python_api/value_var_update/TestValueVarUpdate.py
index 5db116957e786..8e7559abb2d53 100644
--- a/lldb/test/API/python_api/value_var_update/TestValueVarUpdate.py
+++ b/lldb/test/API/python_api/value_var_update/TestValueVarUpdate.py
@@ -8,6 +8,8 @@
class ValueVarUpdateTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def test_with_process_launch_api(self):
"""Test SBValue::GetValueDidChange"""
# Get the full path to our executable to be attached/debugged.
diff --git a/lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py b/lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
index 5de75834e73b6..05465fcb35212 100644
--- a/lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
+++ b/lldb/test/API/python_api/watchpoint/condition/TestWatchpointConditionAPI.py
@@ -9,6 +9,7 @@
class WatchpointConditionAPITestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/tools/lldb-dap/attach-commands/TestDAP_attachCommands.py b/lldb/test/API/tools/lldb-dap/attach-commands/TestDAP_attachCommands.py
index d8ac51260de94..056e213a6fc81 100644
--- a/lldb/test/API/tools/lldb-dap/attach-commands/TestDAP_attachCommands.py
+++ b/lldb/test/API/tools/lldb-dap/attach-commands/TestDAP_attachCommands.py
@@ -10,6 +10,8 @@
class TestDAP_attachCommands(lldbdap_testcase.DAPTestCaseBase):
+ SHARED_BUILD_TESTCASE = False
+
@skipIfNetBSD # Hangs on NetBSD as well
def test_commands(self):
"""
diff --git a/lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py b/lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
index 50689886c1a12..e222d59e220d7 100644
--- a/lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
+++ b/lldb/test/API/tools/lldb-dap/attach/TestDAP_attach.py
@@ -15,6 +15,8 @@
# process scheduling can cause a massive (minutes) delay during this test.
@skipIf(oslist=["linux"], archs=["arm$"])
class TestDAP_attach(lldbdap_testcase.DAPTestCaseBase):
+ SHARED_BUILD_TESTCASE = False
+
def spawn(self, program, args=None):
return self.spawnSubprocess(
executable=program,
diff --git a/lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py b/lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py
index 343fd5dc9da36..e844a0e929ed9 100644
--- a/lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py
+++ b/lldb/test/API/tools/lldb-dap/commands/TestDAP_commands.py
@@ -7,6 +7,8 @@
class TestDAP_commands(lldbdap_testcase.DAPTestCaseBase):
+ SHARED_BUILD_TESTCASE = False
+
def test_command_directive_quiet_on_success(self):
program = self.getBuildArtifact("a.out")
command_quiet = (
diff --git a/lldb/test/API/tools/lldb-server/attach-wait/TestGdbRemoteAttachWait.py b/lldb/test/API/tools/lldb-server/attach-wait/TestGdbRemoteAttachWait.py
index bbbfa733db2da..2ad1ea5bffd63 100644
--- a/lldb/test/API/tools/lldb-server/attach-wait/TestGdbRemoteAttachWait.py
+++ b/lldb/test/API/tools/lldb-server/attach-wait/TestGdbRemoteAttachWait.py
@@ -10,6 +10,8 @@
@skipIfMTE # MTE security transition shims restrict socket operations.
class TestGdbRemoteAttachWait(gdbremote_testcase.GdbRemoteTestCaseBase):
+ SHARED_BUILD_TESTCASE = False
+
def _set_up_inferior(self):
self._exe_to_attach = "%s_%d" % (self.testMethodName, os.getpid())
self.build(dictionary={"EXE": self._exe_to_attach, "CXX_SOURCES": "main.cpp"})
diff --git a/lldb/test/API/types/TestRecursiveTypes.py b/lldb/test/API/types/TestRecursiveTypes.py
index 63f18cf230175..79bb008e3c923 100644
--- a/lldb/test/API/types/TestRecursiveTypes.py
+++ b/lldb/test/API/types/TestRecursiveTypes.py
@@ -2,13 +2,14 @@
Test that recursive types are handled correctly.
"""
-
import lldb
import lldbsuite.test.lldbutil as lldbutil
from lldbsuite.test.lldbtest import *
class RecursiveTypesTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
>From f930999bada1c981d14a7684ad46cebb0d9aa216 Mon Sep 17 00:00:00 2001
From: Dave Lee <davelee.com at gmail.com>
Date: Wed, 25 Mar 2026 10:02:44 -0700
Subject: [PATCH 2/4] Add a few more tests
---
lldb/test/API/functionalities/asan/TestReportData.py | 2 ++
.../test/API/functionalities/thread/step_until/TestStepUntil.py | 2 ++
lldb/test/API/lang/c/forward/TestForwardDeclaration.py | 2 ++
lldb/test/API/linux/linker-symbols/TestLinkerSymbols.py | 1 +
4 files changed, 7 insertions(+)
diff --git a/lldb/test/API/functionalities/asan/TestReportData.py b/lldb/test/API/functionalities/asan/TestReportData.py
index c832436b0f447..2d1f673594295 100644
--- a/lldb/test/API/functionalities/asan/TestReportData.py
+++ b/lldb/test/API/functionalities/asan/TestReportData.py
@@ -11,6 +11,8 @@
class AsanTestReportDataCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
@skipIfFreeBSD # llvm.org/pr21136 runtimes not yet available by default
@expectedFailureNetBSD
@skipUnlessAddressSanitizer
diff --git a/lldb/test/API/functionalities/thread/step_until/TestStepUntil.py b/lldb/test/API/functionalities/thread/step_until/TestStepUntil.py
index afdc92dd40001..5b3f6b449efbc 100644
--- a/lldb/test/API/functionalities/thread/step_until/TestStepUntil.py
+++ b/lldb/test/API/functionalities/thread/step_until/TestStepUntil.py
@@ -7,6 +7,8 @@
class StepUntilTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/lang/c/forward/TestForwardDeclaration.py b/lldb/test/API/lang/c/forward/TestForwardDeclaration.py
index b6b6f1d6b2613..0cb8ac5056e29 100644
--- a/lldb/test/API/lang/c/forward/TestForwardDeclaration.py
+++ b/lldb/test/API/lang/c/forward/TestForwardDeclaration.py
@@ -8,6 +8,8 @@
class ForwardDeclarationTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def do_test(self, dictionary=None):
"""Display *bar_ptr when stopped on a function with forward declaration of struct bar."""
self.build(dictionary=dictionary)
diff --git a/lldb/test/API/linux/linker-symbols/TestLinkerSymbols.py b/lldb/test/API/linux/linker-symbols/TestLinkerSymbols.py
index bc21a08feec68..a15ea75cd2a77 100644
--- a/lldb/test/API/linux/linker-symbols/TestLinkerSymbols.py
+++ b/lldb/test/API/linux/linker-symbols/TestLinkerSymbols.py
@@ -13,6 +13,7 @@ class TestLinkerSymbols(TestBase):
# set this to true. That way it won't be run once for
# each debug info format.
NO_DEBUG_INFO_TESTCASE = True
+ SHARED_BUILD_TESTCASE = False
@skipUnlessPlatform(["linux"])
def test_linker_symbols(self):
>From 707779842d321db1c6087f689217628324095553 Mon Sep 17 00:00:00 2001
From: Dave Lee <davelee.com at gmail.com>
Date: Wed, 25 Mar 2026 10:46:11 -0700
Subject: [PATCH 3/4] Find more tests
---
lldb/test/API/arm/thumb-function-addr/TestThumbFunctionAddr.py | 2 ++
.../rw_access_dynamic_resize/TestSVEThreadedDynamic.py | 2 ++
.../rw_access_static_config/TestSVERegisters.py | 2 ++
.../register/aarch64_sve_simd_registers/TestSVESIMDRegisters.py | 2 ++
.../multi_watchpoint_slots/TestWatchpointMultipleSlots.py | 1 +
.../variable_out_of_scope/TestWatchedVarHitWhenInScope.py | 1 +
.../data-formatter-objc/ObjCDataFormatterTestCase.py | 2 ++
.../soft_trap/TestBoundsSafetyInstrumentationPlugin.py | 2 ++
.../test/API/lang/objc/modules-update/TestClangModulesUpdate.py | 2 ++
lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py | 2 ++
.../simd_registers/TestLoongArch64LinuxSIMDRegisters.py | 1 +
lldb/test/API/macosx/ctf/TestCTF.py | 1 +
lldb/test/API/macosx/mte/TestDarwinMTE.py | 1 +
lldb/test/API/macosx/universal64/TestUniversal64.py | 1 +
lldb/test/API/riscv/break-undecoded/TestBreakpointIllegal.py | 2 ++
lldb/test/API/riscv/step/TestSoftwareStep.py | 2 ++
lldb/test/API/tools/lldb-server/TestLldbGdbServer.py | 2 ++
lldb/test/API/types/HideTestFailures.py | 2 ++
18 files changed, 30 insertions(+)
diff --git a/lldb/test/API/arm/thumb-function-addr/TestThumbFunctionAddr.py b/lldb/test/API/arm/thumb-function-addr/TestThumbFunctionAddr.py
index d08099f6331e5..4da3ed63b4d77 100644
--- a/lldb/test/API/arm/thumb-function-addr/TestThumbFunctionAddr.py
+++ b/lldb/test/API/arm/thumb-function-addr/TestThumbFunctionAddr.py
@@ -10,6 +10,8 @@
class TestThumbFunctionAddr(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def do_thumb_function_test(self, language):
self.build(dictionary={"CFLAGS_EXTRAS": f"-x {language} -mthumb"})
diff --git a/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_dynamic_resize/TestSVEThreadedDynamic.py b/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_dynamic_resize/TestSVEThreadedDynamic.py
index 759dde96a9f15..defa252cd51fc 100644
--- a/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_dynamic_resize/TestSVEThreadedDynamic.py
+++ b/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_dynamic_resize/TestSVEThreadedDynamic.py
@@ -21,6 +21,8 @@ class Mode(Enum):
class RegisterCommandsTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def get_supported_vg(self):
# Changing VL trashes the register state, so we need to run the program
# just to test this. Then run it again for the test.
diff --git a/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py b/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py
index f198d4716e8ee..9246f7eb747d8 100644
--- a/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py
+++ b/lldb/test/API/commands/register/register/aarch64_sve_registers/rw_access_static_config/TestSVERegisters.py
@@ -15,6 +15,8 @@ class Mode(Enum):
class RegisterCommandsTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def check_sve_register_size(self, set, name, expected):
reg_value = set.GetChildMemberWithName(name)
self.assertTrue(
diff --git a/lldb/test/API/commands/register/register/aarch64_sve_simd_registers/TestSVESIMDRegisters.py b/lldb/test/API/commands/register/register/aarch64_sve_simd_registers/TestSVESIMDRegisters.py
index ce4c725714d23..8f009099cbe68 100644
--- a/lldb/test/API/commands/register/register/aarch64_sve_simd_registers/TestSVESIMDRegisters.py
+++ b/lldb/test/API/commands/register/register/aarch64_sve_simd_registers/TestSVESIMDRegisters.py
@@ -27,6 +27,8 @@ class Mode(Enum):
class SVESIMDRegistersTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def get_build_flags(self, mode):
cflags = "-march=armv8-a+sve"
if mode == Mode.SSVE:
diff --git a/lldb/test/API/commands/watchpoints/multi_watchpoint_slots/TestWatchpointMultipleSlots.py b/lldb/test/API/commands/watchpoints/multi_watchpoint_slots/TestWatchpointMultipleSlots.py
index ef726ffec70f5..e87a21ce3ea21 100644
--- a/lldb/test/API/commands/watchpoints/multi_watchpoint_slots/TestWatchpointMultipleSlots.py
+++ b/lldb/test/API/commands/watchpoints/multi_watchpoint_slots/TestWatchpointMultipleSlots.py
@@ -12,6 +12,7 @@
class WatchpointSlotsTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def setUp(self):
diff --git a/lldb/test/API/commands/watchpoints/variable_out_of_scope/TestWatchedVarHitWhenInScope.py b/lldb/test/API/commands/watchpoints/variable_out_of_scope/TestWatchedVarHitWhenInScope.py
index 2f4ed5a983ecc..aaeade876df25 100644
--- a/lldb/test/API/commands/watchpoints/variable_out_of_scope/TestWatchedVarHitWhenInScope.py
+++ b/lldb/test/API/commands/watchpoints/variable_out_of_scope/TestWatchedVarHitWhenInScope.py
@@ -10,6 +10,7 @@
class WatchedVariableHitWhenInScopeTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
# This test depends on not tracking watchpoint expression hits if we have
diff --git a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py
index c1cd9556c5ef3..f1dc1dac2c8e8 100644
--- a/lldb/test/API/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py
+++ b/lldb/test/API/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py
@@ -11,6 +11,8 @@
class ObjCDataFormatterTestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def appkit_tester_impl(self, commands, use_constant_classes):
if use_constant_classes:
self.build()
diff --git a/lldb/test/API/lang/BoundsSafety/soft_trap/TestBoundsSafetyInstrumentationPlugin.py b/lldb/test/API/lang/BoundsSafety/soft_trap/TestBoundsSafetyInstrumentationPlugin.py
index 535a0bcf7c00e..0f4150400e69e 100644
--- a/lldb/test/API/lang/BoundsSafety/soft_trap/TestBoundsSafetyInstrumentationPlugin.py
+++ b/lldb/test/API/lang/BoundsSafety/soft_trap/TestBoundsSafetyInstrumentationPlugin.py
@@ -13,6 +13,8 @@
class BoundsSafetyTestSoftTrapPlugin(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def _check_stop_reason_impl(
self,
expected_soft_trap_func: str,
diff --git a/lldb/test/API/lang/objc/modules-update/TestClangModulesUpdate.py b/lldb/test/API/lang/objc/modules-update/TestClangModulesUpdate.py
index 4c6be3efdeb16..d1a254438b418 100644
--- a/lldb/test/API/lang/objc/modules-update/TestClangModulesUpdate.py
+++ b/lldb/test/API/lang/objc/modules-update/TestClangModulesUpdate.py
@@ -8,6 +8,8 @@
class TestClangModuleUpdate(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
@add_test_categories(["gmodules"])
@skipIfDarwin # rdar://76540904
def test_expr(self):
diff --git a/lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py b/lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py
index 80942a8abd6ed..63e0555fb9b68 100644
--- a/lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py
+++ b/lldb/test/API/lang/objc/rdar-12408181/TestRdar12408181.py
@@ -15,6 +15,8 @@
# Note: Simply applying the @skipIf decorator here confuses the test harness
# and gives a spurious failure.
class Rdar12408181TestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
diff --git a/lldb/test/API/linux/loongarch64/simd_registers/TestLoongArch64LinuxSIMDRegisters.py b/lldb/test/API/linux/loongarch64/simd_registers/TestLoongArch64LinuxSIMDRegisters.py
index 03e1cc734b708..16b903dbbfc25 100644
--- a/lldb/test/API/linux/loongarch64/simd_registers/TestLoongArch64LinuxSIMDRegisters.py
+++ b/lldb/test/API/linux/loongarch64/simd_registers/TestLoongArch64LinuxSIMDRegisters.py
@@ -15,6 +15,7 @@ class Mode(Enum):
class LoongArch64LinuxRegisters(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def get_build_flags(self, mode):
diff --git a/lldb/test/API/macosx/ctf/TestCTF.py b/lldb/test/API/macosx/ctf/TestCTF.py
index fed3a8886dd30..c7c479b057d67 100644
--- a/lldb/test/API/macosx/ctf/TestCTF.py
+++ b/lldb/test/API/macosx/ctf/TestCTF.py
@@ -6,6 +6,7 @@
class TestCTF(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def no_ctf_convert(self):
diff --git a/lldb/test/API/macosx/mte/TestDarwinMTE.py b/lldb/test/API/macosx/mte/TestDarwinMTE.py
index 59e8cd8d388c1..4280e8058266a 100644
--- a/lldb/test/API/macosx/mte/TestDarwinMTE.py
+++ b/lldb/test/API/macosx/mte/TestDarwinMTE.py
@@ -12,6 +12,7 @@
class TestDarwinMTE(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
@skipUnlessFeature(cpu_feature.AArch64.MTE)
diff --git a/lldb/test/API/macosx/universal64/TestUniversal64.py b/lldb/test/API/macosx/universal64/TestUniversal64.py
index 893ff14d81138..3467aa1754e4b 100644
--- a/lldb/test/API/macosx/universal64/TestUniversal64.py
+++ b/lldb/test/API/macosx/universal64/TestUniversal64.py
@@ -4,6 +4,7 @@
class Universal64TestCase(TestBase):
+ SHARED_BUILD_TESTCASE = False
NO_DEBUG_INFO_TESTCASE = True
def do_test(self):
diff --git a/lldb/test/API/riscv/break-undecoded/TestBreakpointIllegal.py b/lldb/test/API/riscv/break-undecoded/TestBreakpointIllegal.py
index 5b00298827a67..4176fda882058 100644
--- a/lldb/test/API/riscv/break-undecoded/TestBreakpointIllegal.py
+++ b/lldb/test/API/riscv/break-undecoded/TestBreakpointIllegal.py
@@ -9,6 +9,8 @@
class TestBreakpointIllegal(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
@skipIf(archs=no_match(["rv64gc"]))
def test_4(self):
self.build()
diff --git a/lldb/test/API/riscv/step/TestSoftwareStep.py b/lldb/test/API/riscv/step/TestSoftwareStep.py
index 0544d2102d0f9..8f81a078fb2ac 100644
--- a/lldb/test/API/riscv/step/TestSoftwareStep.py
+++ b/lldb/test/API/riscv/step/TestSoftwareStep.py
@@ -10,6 +10,8 @@
class TestSoftwareStep(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def do_sequence_test(self, filename, bkpt_name):
source_file = filename + ".c"
exe_file = filename + ".x"
diff --git a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
index 717c4da171eeb..3b679310134ce 100644
--- a/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
+++ b/lldb/test/API/tools/lldb-server/TestLldbGdbServer.py
@@ -29,6 +29,8 @@
class LldbGdbServerTestCase(
gdbremote_testcase.GdbRemoteTestCaseBase, DwarfOpcodeParser
):
+ SHARED_BUILD_TESTCASE = False
+
def test_thread_suffix_supported(self):
server = self.connect_to_debug_monitor()
self.assertIsNotNone(server)
diff --git a/lldb/test/API/types/HideTestFailures.py b/lldb/test/API/types/HideTestFailures.py
index 4dbe51a8734ae..3118617d7e041 100644
--- a/lldb/test/API/types/HideTestFailures.py
+++ b/lldb/test/API/types/HideTestFailures.py
@@ -13,6 +13,8 @@
class DebugIntegerTypesFailures(TestBase):
+ SHARED_BUILD_TESTCASE = False
+
def setUp(self):
# Call super's setUp().
TestBase.setUp(self)
>From 6625917ed59324dc255eb856cc877c4e85a5f1cb Mon Sep 17 00:00:00 2001
From: Dave Lee <davelee.com at gmail.com>
Date: Wed, 25 Mar 2026 11:45:49 -0700
Subject: [PATCH 4/4] Fix docstring location
---
lldb/packages/Python/lldbsuite/test/lldbtest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lldb/packages/Python/lldbsuite/test/lldbtest.py b/lldb/packages/Python/lldbsuite/test/lldbtest.py
index 4df1595205c1a..5b274d7700251 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbtest.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbtest.py
@@ -1530,10 +1530,10 @@ def build(
dictionary=None,
make_targets=None,
):
+ """Platform specific way to build binaries."""
if debug_info or architecture or compiler or dictionary or make_targets:
self.assertFalse(self.SHARED_BUILD_TESTCASE)
- """Platform specific way to build binaries."""
if not architecture and configuration.arch:
architecture = configuration.arch
More information about the lldb-commits
mailing list