Skip to content

cmd/dist: add test that Go can bootstrap itself with just-built tree #30758

Description

@bradfitz

CL 166985 broke the build, but in a way that the build system didn't detect: it produced a build that couldn't be used to as a GOROOT_BOOTSTRAP directory.

We should add a test (perhaps off by default, except on at least 1 builders, including trybots) that just runs make.bash again using the just-built tree as its GOROOT_BOOTSTRAP.

Because we shard tests and slow tests are scheduled first, it shouldn't affect the overall trybot time.

/cc @mdempsky @bcmills @dmitshur

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.TestingAn issue that has been verified to require only test changes, not just a test failure.help wanted

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions