Skip to content

cmd/go: convert tests using testdata files to script framework #36320

Closed
@matloob

Description

@matloob

I'd like to convert the cmd/go tests using testdata/src as their GOPATH to the script framework. We don't run those tests in parallel because we don't want concurrent go command runs started by the tests using the same GOPATH. While we can modify the test framework to copy the testdata files to a isolated temp directory GOPATH for those tests, I think it's simpler to just convert those tests to the script framework, and that has the additional benefit that we keep the test logic and data together in the same files making the tests easier to read.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GoCommandcmd/goNeedsFixThe 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.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions