Skip to content

TestUpgradeInfoURLs only works for some architectures #4

@Millak

Description

@Millak

Based on the way the test is written, it can only pass on a matrix of OSes (mac, windows, linux) by architectures (386, amd64, arm64). Any architecture (or OS) which falls outside of this matrix will automatically fail the test. Adding a fallback of

default:
    archType = runtime.GOARCH

will allow the test to pass on, say, riscv64, but it seems like a hack, especially if there isn't going to be a release binary pre-built for that architecture. Ideally the test would be limited to the architecture/OS combinations which either may pass or which would actually exist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions