mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.ssa] Merge remote-tracking branch 'origin/master' into mergebranch
Semi-regular merge from tip into dev.ssa. Change-Id: I1627d7c7e6892cd4f1f5da5f3e07389ff1d677ce
This commit is contained in:
commit
b386c34ef9
700 changed files with 23857 additions and 22716 deletions
|
|
@ -60,6 +60,9 @@ func TestGdbPython(t *testing.T) {
|
|||
if runtime.GOOS == "darwin" {
|
||||
t.Skip("gdb does not work on darwin")
|
||||
}
|
||||
if final := os.Getenv("GOROOT_FINAL"); final != "" && runtime.GOROOT() != final {
|
||||
t.Skip("gdb test can fail with GOROOT_FINAL pending")
|
||||
}
|
||||
|
||||
checkGdbPython(t)
|
||||
|
||||
|
|
@ -84,6 +87,7 @@ func TestGdbPython(t *testing.T) {
|
|||
|
||||
args := []string{"-nx", "-q", "--batch", "-iex",
|
||||
fmt.Sprintf("add-auto-load-safe-path %s/src/runtime", runtime.GOROOT()),
|
||||
"-ex", "info auto-load python-scripts",
|
||||
"-ex", "br main.go:10",
|
||||
"-ex", "run",
|
||||
"-ex", "echo BEGIN info goroutines\n",
|
||||
|
|
@ -123,7 +127,10 @@ func TestGdbPython(t *testing.T) {
|
|||
t.Skipf("skipping because GOROOT=%s does not exist", runtime.GOROOT())
|
||||
}
|
||||
|
||||
t.Fatalf("failed to load Go runtime support: %s", firstLine)
|
||||
_, file, _, _ := runtime.Caller(1)
|
||||
|
||||
t.Logf("package testing source file: %s", file)
|
||||
t.Fatalf("failed to load Go runtime support: %s\n%s", firstLine, got)
|
||||
}
|
||||
|
||||
// Extract named BEGIN...END blocks from output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue