Skip to content

x/sys/unix: mkmerge_test.go is not tested on the Go builders #49484

@bcmills

Description

@bcmills

unix/mkmerge.go was updated in CL 296889 to add //go:build lines (#41184).

That caused the test in unix/mkmerge_test.go to start failing, but nobody noticed because mkmerge_test.go itself has the ignore constraint — it must be run explicitly to run it at all, and the Go builders do not know to do that.

Probably the simplest solution is to factor mkmerge.go out into a proper package (perhaps x/sys/unix/internal/mkmerge?), in which case its test will be run automatically by the builders.

Another option would be to add a Test function in x/sys/unix itself that runs go test mkmerge.go mkmerge_test.go as a subprocess.

CC @tklauser @jupj @ianlancetaylor

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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions