Skip to content

Commit 0fb245a

Browse files
authored
Merge pull request #201 from fredriss/cherry-pick-remote-testsuite-fixes
Cherry pick remote testsuite fixes
2 parents 89190d3 + fca58b2 commit 0fb245a

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,9 @@ def is_remote():
517517
def skipIfNoSBHeaders(func):
518518
"""Decorate the item to mark tests that should be skipped when LLDB is built with no SB API headers."""
519519
def are_sb_headers_missing():
520+
if lldb.remote_platform:
521+
return "skip because SBHeaders tests make no sense remotely"
522+
520523
if lldbplatformutil.getHostPlatform() == 'darwin':
521524
header = os.path.join(
522525
os.environ["LLDB_LIB_DIR"],
Lines changed: 7 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,14 @@
1-
CC ?= clang
2-
ifeq "$(ARCH)" ""
3-
ARCH = x86_64
4-
endif
5-
6-
ifeq "$(OS)" ""
7-
OS = $(shell uname -s)
8-
endif
1+
C_SOURCES = main.c
92

10-
CFLAGS ?= -g -O0
3+
include Makefile.rules
114

12-
ifeq "$(OS)" "Darwin"
13-
CFLAGS += -arch $(ARCH)
14-
endif
5+
all: a.out.dSYM hide.app/Contents/a.out.dSYM
156

16-
all: main.c clean
7+
hide.app/Contents/a.out.dSYM:
178
mkdir hide.app
189
mkdir hide.app/Contents
19-
$(CC) $(CFLAGS) -g $<
2010
mv a.out.dSYM hide.app/Contents
2111
strip -x a.out
22-
23-
clean:
24-
rm -rf a.out a.out.dSYM hide.app
12+
ifneq "$(CODESIGN)" ""
13+
$(CODESIGN) -fs - a.out
14+
endif

0 commit comments

Comments
 (0)