Skip to content

Commit 7041536

Browse files
authored
Merge pull request #147 from fredriss/more-on-device-tests-master-next
More on device tests master next
2 parents 9f3d1dc + c15b2f2 commit 7041536

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

lldb/packages/Python/lldbsuite/test/lldbplaygroundrepl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def repl_set_up(self):
5656
target = self.dbg.CreateTarget(exe)
5757
self.assertTrue(target, VALID_TARGET)
5858

59+
self.registerSharedLibrariesWithTarget(target, ['libPlaygroundsRuntime.dylib'])
60+
5961
# Set the breakpoints
6062
breakpoint = target.BreakpointCreateBySourceRegex(
6163
'Set breakpoint here', self.PlaygroundStub_source_spec)

lldb/packages/Python/lldbsuite/test/make/Makefile.rules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,9 @@ ifneq "$(EXCLUDE_WRAPPED_SWIFTMODULE)" ""
793793
else
794794
$(SWIFTC) $(patsubst -g,,$(SWIFTFLAGS)) -emit-library $(DYLIB_SWIFT_FLAGS) -o $@ $^
795795
endif
796+
ifneq "$(CODESIGN)" ""
797+
$(CODESIGN) -s - "$(DYLIB_FILENAME)"
798+
endif
796799
ifneq "$(MAKE_DSYM)" "NO"
797800
ifneq "$(DS)" ""
798801
"$(DS)" $(DSFLAGS) "$(DYLIB_FILENAME)"

0 commit comments

Comments
 (0)