|
@@ -74,7 +74,7 @@ func TestSymbolizationPath(t *testing.T) {
|
74
|
74
|
},
|
75
|
75
|
}
|
76
|
76
|
s := &source{}
|
77
|
|
- locateBinaries(p, s, obj, &proftest.TestUI{t, tc.msgCount})
|
|
77
|
+ locateBinaries(p, s, obj, &proftest.TestUI{T: t, Ignore: tc.msgCount})
|
78
|
78
|
if file := p.Mapping[0].File; file != tc.want {
|
79
|
79
|
t.Errorf("%s:%s:%s, want %s, got %s", tc.env, tc.file, tc.buildID, tc.want, file)
|
80
|
80
|
}
|
|
@@ -176,7 +176,7 @@ func TestFetch(t *testing.T) {
|
176
|
176
|
{path + "go.nomappings.crash", "/bin/gotest.exe"},
|
177
|
177
|
{"http://localhost/profile?file=cppbench.cpu", ""},
|
178
|
178
|
} {
|
179
|
|
- p, _, _, err := grabProfile(&source{ExecName: tc.execName}, tc.source, 0, nil, testObj{}, &proftest.TestUI{t, 0})
|
|
179
|
+ p, _, _, err := grabProfile(&source{ExecName: tc.execName}, tc.source, 0, nil, testObj{}, &proftest.TestUI{T: t})
|
180
|
180
|
if err != nil {
|
181
|
181
|
t.Fatalf("%s: %s", tc.source, err)
|
182
|
182
|
}
|