Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set GOARCH to amd64 for TestListMagefilesIgnoresRespectsGOOSArg #275

Merged
merged 1 commit into from
Jan 13, 2020
Merged

Set GOARCH to amd64 for TestListMagefilesIgnoresRespectsGOOSArg #275

merged 1 commit into from
Jan 13, 2020

Conversation

siddhesh
Copy link
Contributor

The TestListMagefilesIgnoresRespectsGOOSArg test tries to list go
files with a different GOOS arg by setting GOOS to windows on Linux
systems and vice versa. This test works fine on amd64, but breaks on
arm64 because a windows/arm64 pair is not available yet and as a
result, the go list command underlying the Magefiles function
fails.

Fix this problem by keeping GOARCH as amd64 so that the go list
command does not fail.

The TestListMagefilesIgnoresRespectsGOOSArg test tries to list go
files with a different GOOS arg by setting GOOS to windows on Linux
systems and vice versa.  This test works fine on amd64, but breaks on
arm64 because a windows/arm64 pair is not available yet and as a
result, the `go list` command underlying the `Magefiles` function
fails.

Fix this problem by keeping GOARCH as amd64 so that the go list
command does not fail.
Copy link
Member

@natefinch natefinch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch!

@natefinch natefinch merged commit 1e0dbb8 into magefile:master Jan 13, 2020
@siddhesh siddhesh deleted the arm64 branch January 14, 2020 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants