File tree 3 files changed +12
-11
lines changed
packages/Python/lldbsuite/test/make
3 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ ifneq "$(OS)" "Darwin"
363
363
364
364
OBJCOPY ?= $(call replace_cc_with,objcopy)
365
365
ARCHIVER ?= $(call replace_cc_with,ar)
366
- DWP ?= $(call reaplce_cc_with ,dwp)
366
+ DWP ?= $(call replace_cc_with ,dwp)
367
367
override AR = $(ARCHIVER)
368
368
endif
369
369
@@ -572,15 +572,15 @@ else
572
572
endif
573
573
else
574
574
ifeq "$(SPLIT_DEBUG_SYMBOLS)" "YES"
575
- ifneq "$(KEEP_FULL_DEBUG_BINARY)" "YES"
575
+ ifneq "$(KEEP_FULL_DEBUG_BINARY)" "YES"
576
576
$(OBJCOPY) --only-keep-debug "$(EXE)" "$(DSYM)"
577
- else
577
+ else
578
578
cp "$(EXE)" "$(DSYM)"
579
- endif
579
+ endif
580
580
$(OBJCOPY) --strip-debug --add-gnu-debuglink="$(DSYM)" "$(EXE)" "$(EXE)"
581
581
endif
582
582
ifeq "$(MERGE_DWOS)" "YES"
583
- $(DWP) -o "$(DWP_FILE )" $(DWOS)
583
+ $(DWP) -o "$(DWP_NAME )" $(DWOS)
584
584
endif
585
585
endif
586
586
Original file line number Diff line number Diff line change 1
1
C_SOURCES := main.c
2
- CFLAGS_EXTRAS := -std=c99
2
+ LDFLAGS := -Wl,--build-id
3
3
4
4
MAKE_DWO := YES
5
5
SPLIT_DEBUG_SYMBOLS := YES
Original file line number Diff line number Diff line change 1
1
"""
2
- Describe the purpose of the test class here .
2
+ Test support for the DebugInfoD network symbol acquisition protocol .
3
3
"""
4
4
5
5
8
8
from lldbsuite .test .lldbtest import *
9
9
10
10
11
- class RenameThisSampleTestTestCase (TestBase ):
11
+ class DebugInfodTests (TestBase ):
12
12
# If your test case doesn't stress debug info, then
13
13
# set this to true. That way it won't be run once for
14
14
# each debug info format.
15
15
NO_DEBUG_INFO_TESTCASE = True
16
16
17
- def test_sample_rename_this (self ):
18
- """There can be many tests in a test case - describe this test here ."""
17
+ def test_stuff (self ):
18
+ """This should test stuff ."""
19
19
self .build ()
20
20
self .main_source_file = lldb .SBFileSpec ("main.c" )
21
21
self .sample_test ()
@@ -25,7 +25,8 @@ def setUp(self):
25
25
TestBase .setUp (self )
26
26
# Set up your test case here. If your test doesn't need any set up then
27
27
# remove this method from your TestCase class.
28
- # I need to setup the file-system-hosted Debuginfod server
28
+ # I need to setup the file-system-hosted Debuginfod server 'root'.
29
+ # The files it should host can be generated per-test
29
30
30
31
def sample_test (self ):
31
32
"""You might use the test implementation in several ways, say so here."""
You can’t perform that action at this time.
0 commit comments