Pass deleted_packages to blaze query for test resolution. (#2628)
This would be convenient for tests that need to run with specific
versions of bazel or other rules for compatibility.
A recent rules_cc change https://github.com/bazelbuild/rules_cc/pull/556
tried to use it to exclude tests that would fail to parse under some
blaze versions. However, this didn't get passed to the query and caused
failures anyway (these were presubmit-only, continuous integration ran
fine, making it hard to debug (I assumed we had an inconsistency in our
exported presubmit versions)).
As a workaround we wrap these rules in macros that check bazel_features.
https://github.com/bazelbuild/rules_cc/commit/eed4b510fde0c8ddca659d575c21dc943d857d3a
1 file changed