Skip to content

Commit d4afbfc

Browse files
committed
[lldb] Disable swift-create-module-contexts-in-parallel for a few tests
1 parent cef544c commit d4afbfc

File tree

7 files changed

+9
-0
lines changed

7 files changed

+9
-0
lines changed

lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ def setUp(self):
2828

2929
def provider_data_formatter_commands(self):
3030
"""Test that the PythonObjectSyntheticChildProvider helper class works"""
31+
self.runCmd("settings set target.experimental.swift-create-module-contexts-in-parallel false")
3132
self.runCmd("file " + self.getBuildArtifact("a.out"), CURRENT_EXECUTABLE_SET)
3233

3334
lldbutil.run_break_set_by_file_and_line(

lldb/test/API/lang/swift/clangimporter/dynamic_type_resolution_import_conflict/TestSwiftDynamicTypeResolutionImportConflict.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def test(self):
4545

4646
self.runCmd('settings set symbols.clang-modules-cache-path "%s"'
4747
% mod_cache)
48+
self.runCmd("settings set target.experimental.swift-create-module-contexts-in-parallel false")
4849
self.build()
4950
target, _, _, _ = lldbutil.run_to_source_breakpoint(self, "break here",
5051
lldb.SBFileSpec('main.swift'),

lldb/test/API/lang/swift/clangimporter/headermap_conflict/TestSwiftHeadermapConflict.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def test(self):
3838
self.runCmd("settings set symbols.use-swift-dwarfimporter false")
3939
self.runCmd('settings set symbols.clang-modules-cache-path "%s"'
4040
% mod_cache)
41+
self.runCmd("settings set target.experimental.swift-create-module-contexts-in-parallel false")
4142
self.build()
4243

4344
target, process, thread, bkpt = lldbutil.run_to_source_breakpoint(

lldb/test/API/lang/swift/clangimporter/macro_conflict/TestSwiftMacroConflict.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ def test(self):
3838
self.runCmd('settings set symbols.use-swift-dwarfimporter false')
3939
self.runCmd('settings set symbols.clang-modules-cache-path "%s"'
4040
% mod_cache)
41+
self.runCmd("settings set target.experimental.swift-create-module-contexts-in-parallel false")
4142
self.build()
4243

4344
target, process, _, _ = lldbutil.run_to_source_breakpoint(
@@ -77,6 +78,8 @@ def test_with_dwarfimporter(self):
7778
self.runCmd('settings set symbols.use-swift-dwarfimporter true')
7879
self.runCmd('settings set symbols.clang-modules-cache-path "%s"'
7980
% mod_cache)
81+
self.runCmd("settings set target.experimental.swift-create-module-contexts-in-parallel false")
82+
8083
self.build()
8184

8285
target, process, _, _ = lldbutil.run_to_source_breakpoint(

lldb/test/API/lang/swift/clangimporter/objcmain_conflicting_dylibs/TestSwiftObjCMainConflictingDylibs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def test(self):
3737

3838
self.runCmd('settings set symbols.clang-modules-cache-path "%s"'
3939
% mod_cache)
40+
self.runCmd("settings set target.experimental.swift-create-module-contexts-in-parallel false")
4041
self.build()
4142
target, process, _, foo_breakpoint = lldbutil.run_to_source_breakpoint(
4243
self, 'break here', lldb.SBFileSpec('Foo.swift'),

lldb/test/API/lang/swift/clangimporter/objcmain_conflicting_dylibs_failing_import/TestSwiftObjCMainConflictingDylibsFailingImport.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def test(self):
3737

3838
self.runCmd('settings set symbols.clang-modules-cache-path "%s"'
3939
% mod_cache)
40+
self.runCmd("settings set target.experimental.swift-create-module-contexts-in-parallel false")
4041
self.build()
4142

4243
target, process, _, bar_breakpoint = lldbutil.run_to_source_breakpoint(

lldb/test/API/lang/swift/clangimporter/rewrite_clang_paths/TestSwiftRewriteClangPaths.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ def dotest(self, remap):
6060
self.runCmd('settings set symbols.clang-modules-cache-path "%s"'
6161
% mod_cache)
6262
self.runCmd("settings set symbols.use-swift-dwarfimporter false")
63+
self.runCmd("settings set target.experimental.swift-create-module-contexts-in-parallel false")
6364

6465
botdir = os.path.realpath(self.getBuildArtifact("buildbot"))
6566
userdir = os.path.realpath(self.getBuildArtifact("user"))

0 commit comments

Comments
 (0)