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

analysis/lint/testutil: unset GO111MODULE in test #1585

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

zhsj
Copy link
Contributor

@zhsj zhsj commented Aug 13, 2024

In Debian packaging system, GO111MODULE is set to off. This causes various test failures due to dialog message mismatch.

In Debian packaging system, GO111MODULE is set to off. This causes
various test failures due to dialog message mismatch.
@zhsj zhsj changed the title Unset GO111MODULE in test analysis/lint/testutil: unset GO111MODULE in test Aug 13, 2024
@dominikh
Copy link
Owner

I am not sure why the tests are passing in CI, but we shouldn't be able to set GO111MODULE=off, as the test suite relies on Go modules to test different language versions.

@zhsj
Copy link
Contributor Author

zhsj commented Aug 13, 2024

I am not sure why the tests are passing in CI, but we shouldn't be able to set GO111MODULE=off, as the test suite relies on Go modules to test different language versions.

The tests didn't pass with GO111MODULE=off. So this PR ensures such unwanted env is unset.

@dominikh
Copy link
Owner

Oh, I see. I misread your change. Thanks!

@dominikh dominikh merged commit 767128c into dominikh:master Aug 13, 2024
6 of 7 checks passed
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