Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsaezm committed May 3, 2023
1 parent 152ba5e commit 8eddaf1
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Documentation/backend_test_health.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@ Tests skipped by each supported backend:
* 4 not implemented
* linux/386/pie skipped = 1
* 1 broken
* linux/ppc64le skipped = 1
* 1 broken - cgo stacktraces
* pie skipped = 2
* 2 upstream issue - https://github.com/golang/go/issues/29322
* ppc64le skipped = 13
* 8 broken
* 1 broken - global variable symbolication
* 4 not implemented
* windows skipped = 5
* 1 broken
* 3 see https://github.com/go-delve/delve/issues/2768
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ uninstall:
@go run _scripts/make.go uninstall

test: vet
@go run _scripts/make.go test
@gotip run _scripts/make.go test

vet:
@go vet $$(go list ./... | grep -v native)
Expand Down
1 change: 1 addition & 0 deletions cmd/dlv/cmds/commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,7 @@ func traceCmd(cmd *cobra.Command, args []string) {
fmt.Fprintf(os.Stderr, "unable to set tracepoint on function %s: %#v\n", funcs[i], err)
continue
}
fmt.Fprintf(os.Stderr, "Addrs %#v\n", addrs)
for i := range addrs {
_, err = client.CreateBreakpoint(&api.Breakpoint{
Addr: addrs[i],
Expand Down
3 changes: 3 additions & 0 deletions pkg/proc/proc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@ func TestNextFunctionReturnDefer(t *testing.T) {
}

func TestNextNetHTTP(t *testing.T) {
skipOn(t, "broken", "ppc64le")
testcases := []nextTest{
{11, 12},
{12, 13},
Expand Down Expand Up @@ -2845,6 +2846,7 @@ func getg(goid int64, gs []*proc.G) *proc.G {
}

func TestAttachDetach(t *testing.T) {
skipOn(t, "broken", "ppc64le")
if testBackend == "lldb" && runtime.GOOS == "linux" {
bs, _ := ioutil.ReadFile("/proc/sys/kernel/yama/ptrace_scope")
if bs == nil || strings.TrimSpace(string(bs)) != "0" {
Expand Down Expand Up @@ -4065,6 +4067,7 @@ func TestIssue951(t *testing.T) {
}

func TestDWZCompression(t *testing.T) {
skipOn(t, "broken", "ppc64le")
// If dwz is not available in the system, skip this test
if _, err := exec.LookPath("dwz"); err != nil {
t.Skip("dwz not installed")
Expand Down

0 comments on commit 8eddaf1

Please sign in to comment.