-
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.
Add unit test for parsing build files in bp2build
This involves some minor changes to testing infrastructure. This is a rollforward of aosp/2628496 with a couple of minor changes: - In ParseBuildFiles, filter out all build files that are kept due to ShouldKeepExistingBuildFileForDir - Add some minor test infrastructure for StubbedBuildDefinitions, with a couple of proof of concept tests used to demonstrate its usage. This pattern will become immensely more common as we implement allowlist v2 (as we will need to update all tests which today simulate build definitions that have missing deps) Bug: 285631638 Fixes: 286545783 Test: bp2build.sh Test: m nothing Change-Id: I7c3a03b02098e39dd8e51d327482b440f294478f
- Loading branch information
Showing
6 changed files
with
175 additions
and
55 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
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
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