Capture missing dependency error rules
Allow missing dependency errors to be tested by capturing the missing dependency error rule instead of the originally requested rule. Test: all soong tests Change-Id: Id2b23b9ee354cdafc44fb9adfaf8fe7bab973478
This commit is contained in:
@@ -179,7 +179,7 @@ func buildParamsFromRule(provider testBuildProvider, rule string) TestingBuildPa
|
||||
|
||||
func maybeBuildParamsFromDescription(provider testBuildProvider, desc string) TestingBuildParams {
|
||||
for _, p := range provider.BuildParamsForTests() {
|
||||
if p.Description == desc {
|
||||
if strings.Contains(p.Description, desc) {
|
||||
return newTestingBuildParams(provider, p)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user