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

Allow Starlark rules to be able to use the exec_compatible_with #8453

Closed

Conversation

katre
Copy link
Member

@katre katre commented May 24, 2019

attribute by default.

Fixes #8451, part of #8134.

@katre katre requested a review from c-parsons May 24, 2019 08:53
@katre katre requested review from laurentlb and removed request for c-parsons May 24, 2019 08:53
@katre katre marked this pull request as ready for review May 24, 2019 08:53
@katre katre requested a review from c-parsons May 24, 2019 09:26
Copy link
Contributor

@laurentlb laurentlb left a comment

Choose a reason for hiding this comment

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

LGTM

Consider adding tests in a separate commit, if needed.

@katre
Copy link
Member Author

katre commented May 24, 2019

The specific issue is because in the original version, all test rules had exec_compatible_with_allowed set to True by default, and when I started changing the default that was dropped. Once the migration is complete, all rules will have it set (in fact, it will be removed and assumed true). There are existing tests for starlark rules, just not for starlark test rules. Given the future direction will make no special provisions for starlark test rules, does a separate test make sense?

@bazel-io bazel-io closed this in 35dd05a May 24, 2019
@katre katre deleted the i8451-missing-exec-compatible-with branch May 24, 2019 10:17
aehlig pushed a commit that referenced this pull request May 24, 2019
attribute by default.

Fixes #8451, part of #8134.

Closes #8453.

PiperOrigin-RevId: 249804440
irengrig pushed a commit to irengrig/bazel that referenced this pull request Jun 18, 2019
attribute by default.

Fixes bazelbuild#8451, part of bazelbuild#8134.

Closes bazelbuild#8453.

PiperOrigin-RevId: 249804440
irengrig pushed a commit to irengrig/bazel that referenced this pull request Jul 15, 2019
attribute by default.

Fixes bazelbuild#8451, part of bazelbuild#8134.

Closes bazelbuild#8453.

PiperOrigin-RevId: 249804440
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

exec_compatible_with not working with 0.26.0 (rc15)
3 participants