File tree Expand file tree Collapse file tree
packages/Python/lldbsuite/test/make Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -363,7 +363,7 @@ ifneq "$(OS)" "Darwin"
363363
364364 OBJCOPY ?= $(call replace_cc_with,objcopy)
365365 ARCHIVER ?= $(call replace_cc_with,ar)
366- DWP ?= $(call reaplce_cc_with ,dwp)
366+ DWP ?= $(call replace_cc_with ,dwp)
367367 override AR = $(ARCHIVER)
368368endif
369369
@@ -572,15 +572,15 @@ else
572572endif
573573else
574574ifeq "$(SPLIT_DEBUG_SYMBOLS)" "YES"
575- ifneq "$(KEEP_FULL_DEBUG_BINARY)" "YES"
575+ ifneq "$(KEEP_FULL_DEBUG_BINARY)" "YES"
576576 $(OBJCOPY) --only-keep-debug "$(EXE)" "$(DSYM)"
577- else
577+ else
578578 cp "$(EXE)" "$(DSYM)"
579- endif
579+ endif
580580 $(OBJCOPY) --strip-debug --add-gnu-debuglink="$(DSYM)" "$(EXE)" "$(EXE)"
581581endif
582582ifeq "$(MERGE_DWOS)" "YES"
583- $(DWP) -o "$(DWP_FILE )" $(DWOS)
583+ $(DWP) -o "$(DWP_NAME )" $(DWOS)
584584endif
585585endif
586586
Original file line number Diff line number Diff line change 11C_SOURCES := main.c
2- CFLAGS_EXTRAS := -std=c99
2+ LDFLAGS := -Wl,--build-id
33
44MAKE_DWO := YES
55SPLIT_DEBUG_SYMBOLS := YES
Original file line number Diff line number Diff line change 11"""
2- Describe the purpose of the test class here .
2+ Test support for the DebugInfoD network symbol acquisition protocol .
33"""
44
55
88from lldbsuite .test .lldbtest import *
99
1010
11- class RenameThisSampleTestTestCase (TestBase ):
11+ class DebugInfodTests (TestBase ):
1212 # If your test case doesn't stress debug info, then
1313 # set this to true. That way it won't be run once for
1414 # each debug info format.
1515 NO_DEBUG_INFO_TESTCASE = True
1616
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 ."""
1919 self .build ()
2020 self .main_source_file = lldb .SBFileSpec ("main.c" )
2121 self .sample_test ()
@@ -25,7 +25,8 @@ def setUp(self):
2525 TestBase .setUp (self )
2626 # Set up your test case here. If your test doesn't need any set up then
2727 # 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
2930
3031 def sample_test (self ):
3132 """You might use the test implementation in several ways, say so here."""
You can’t perform that action at this time.
0 commit comments