Skip to content

gopherjs test ./... complains when a subdirectory contains no buildable build tags #1252

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

Open
flimzy opened this issue Nov 20, 2023 · 0 comments

Comments

@flimzy
Copy link
Member

flimzy commented Nov 20, 2023

I have a small test directory that contained // +build !js in the single package file as well as the single test file. This causes gopherjs to complain:

no buildable Go source files in /home/jonhall/src/kivik/kivik/x/kivikd/test

This seems to match the behavior of go test if called with a single path, but when go test ./... is called, any directories that contain no buildable source are just silently skipped. I think gohperjs should probably do the same.

flimzy added a commit to go-kivik/kivik that referenced this issue Nov 20, 2023
flimzy added a commit to go-kivik/kivik that referenced this issue Nov 20, 2023
flimzy added a commit to go-kivik/kivik that referenced this issue Nov 20, 2023
flimzy added a commit to go-kivik/kivik that referenced this issue Nov 20, 2023
flimzy added a commit to go-kivik/kivik that referenced this issue Nov 20, 2023
flimzy added a commit to go-kivik/kivik that referenced this issue Nov 20, 2023
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

No branches or pull requests

1 participant