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

Ignore packages whose tests are all ignored by go #456

Merged
merged 1 commit into from
Apr 17, 2018

Conversation

idoru
Copy link
Contributor

@idoru idoru commented Apr 12, 2018

When a package contains only tests in go source code that are ignored (filenames being with . or _) I think ginkgo ought to avoid selecting this package for 2 reasons:

  1. the tests won't be compiled
  2. if all other (non-test) *.go files in a packager are also ignored this leads to a failure: can't load package: package X: no Go files in /path/to/X

Copy link
Collaborator

@nodo nodo left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@williammartin
Copy link
Sponsor Collaborator

LGTM thanks.

@williammartin williammartin merged commit 6d8be98 into onsi:master Apr 17, 2018
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.

None yet

3 participants