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
internal/zstd: the test may be skipped on macos systems with zstd installed. #64000
Labels
Milestone
Comments
aimuz
added a commit
to aimuz/go
that referenced
this issue
Nov 8, 2023
This commit introduces a function findZstd which is responsible for locating the zstd executable used by fuzz and unit tests. Previously, the explicit path "/usr/bin/zstd" was hard-coded into test cases, which could lead to skipped tests on systems where zstd is located elsewhere or not present at that specific path. Fixes golang#64000
aimuz
added a commit
to aimuz/go
that referenced
this issue
Nov 8, 2023
This commit introduces a function findZstd which is responsible for locating the zstd executable used by fuzz and unit tests. Previously, the explicit path "/usr/bin/zstd" was hard-coded into test cases, which could lead to skipped tests on systems where zstd is located elsewhere or not present at that specific path. Fixes golang#64000
Change https://go.dev/cl/540522 mentions this issue: |
bcmills
added
Testing
An issue that has been verified to require only test changes, not just a test failure.
NeedsFix
The path to resolution is known, but the work has not been done.
labels
Nov 8, 2023
Also found "/usr/bin/xxhsum", should it be modified as well? |
Change https://go.dev/cl/539938 mentions this issue: |
gopherbot
pushed a commit
that referenced
this issue
Nov 9, 2023
Updates #64000 Change-Id: I71fb80128d7e2a1f82322cbf04f74db01dcc631b GitHub-Last-Rev: 7413594 GitHub-Pull-Request: #64003 Reviewed-on: https://go-review.googlesource.com/c/go/+/539938 Run-TryBot: Jes Cok <xigua67damn@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
On my current system I installed zstd via
brew install zstd
.The reason for this is that the test cases are always looked for in /usr/bin/zstd,
whereas brew is installed in the /usr/local/bin/zstd
What did you expect to see?
Tests are not skipped
What did you see instead?
The text was updated successfully, but these errors were encountered: