mirror of
https://github.com/go-delve/delve.git
synced 2025-10-27 20:23:41 +08:00
*: fix various test problems with go1.25 (#3946)
- disable dwz test if it fails because of dwarf5 - fix TestExamineMemoryCmd, which made unwarranted assumptions about memory
This commit is contained in:
committed by
GitHub
parent
fc6a439f22
commit
486574cb65
@ -24,7 +24,7 @@ func TestMain(m *testing.M) {
|
||||
}
|
||||
|
||||
func withTestRecording(name string, t testing.TB, fn func(grp *proc.TargetGroup, fixture protest.Fixture)) {
|
||||
fixture := protest.BuildFixture(name, 0)
|
||||
fixture := protest.BuildFixture(t, name, 0)
|
||||
protest.MustHaveRecordingAllowed(t)
|
||||
if path, _ := exec.LookPath("rr"); path == "" {
|
||||
t.Skip("test skipped, rr not found")
|
||||
|
||||
Reference in New Issue
Block a user