| Index: appengine/cmd/milo/buildbot/build.go
|
| diff --git a/appengine/cmd/milo/buildbot/build.go b/appengine/cmd/milo/buildbot/build.go
|
| index 3def8f059824625d9794a288c3ea7a9c83f1b91a..e27e43dbdc8d4ccc7cb92d32a203065ed5866e96 100644
|
| --- a/appengine/cmd/milo/buildbot/build.go
|
| +++ b/appengine/cmd/milo/buildbot/build.go
|
| @@ -377,7 +377,10 @@ func sourcestamp(c context.Context, b *buildbotBuild) *resp.SourceStamp {
|
|
|
| func getDebugBuild(c context.Context, builder, buildNum string) (*buildbotBuild, error) {
|
| fname := fmt.Sprintf("%s.%s.json", builder, buildNum)
|
| - path := filepath.Join("testdata", "buildbot", fname)
|
| + // ../buildbot below assumes that
|
| + // - this code is not executed by tests outside of this dir
|
| + // - this dir is a sibling of frontend dir
|
| + path := filepath.Join("..", "buildbot", "testdata", fname)
|
| raw, err := ioutil.ReadFile(path)
|
| if err != nil {
|
| return nil, err
|
|
|