forked from bazelbuild/bazel
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Change test assertions to check for the presence/absence of a PackageIdentifier, rather than actually evaluating the Packages that a package_group refers to. This is more straightforward, requires less setup boilerplate, and also allows us to write assertions that talk about packages in external repos, which PackageLoadingTestCase can't evaluate. - Reflow scratch file contents to follow BUILD formatting. - Add TODO mentioning a cross-repo test case that'd be nice to have, but isn't worth figuring out how to add. - Make the negative-everything test case a little more interesting by giving it something to exclude. - Simplify the positive-everything case's assertion and check that it admits things from other repos. Work toward bazelbuild#11261. PiperOrigin-RevId: 475837392 Change-Id: Idcee6afa3a51de569979a2dde619dfa8fd23f1a1
- Loading branch information
Showing
2 changed files
with
107 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters