Skip to content

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

@flimzy

Description

@flimzy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions