Fix a bug where the default AndroidTest.xml was not picked up.
Bug: 280028705 Test: local build Change-Id: Ie7510c6a07505d6d6139407cd9b9920f870ef753
This commit is contained in:
@@ -99,7 +99,7 @@ func GetTestConfig(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check for default AndroidTest.xml
|
// check for default AndroidTest.xml
|
||||||
defaultTestConfigPath := ctx.ModuleDir() + "/AndroidTest.xml"
|
defaultTestConfigPath := "AndroidTest.xml"
|
||||||
c, _ := android.BazelStringOrLabelFromProp(ctx, &defaultTestConfigPath)
|
c, _ := android.BazelStringOrLabelFromProp(ctx, &defaultTestConfigPath)
|
||||||
return c.Value
|
return c.Value
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user