Merge "Add preparer for test with variables"

This commit is contained in:
Paul Duffin 2021-03-11 14:35:57 +00:00 committed by Gerrit Code Review
commit 8c004c6c04
1 changed files with 7 additions and 1 deletions

View File

@ -24,11 +24,17 @@ import (
)
func init() {
PreDepsMutators(func(ctx RegisterMutatorsContext) {
registerVariableBuildComponents(InitRegistrationContext)
}
func registerVariableBuildComponents(ctx RegistrationContext) {
ctx.PreDepsMutators(func(ctx RegisterMutatorsContext) {
ctx.BottomUp("variable", VariableMutator).Parallel()
})
}
var PrepareForTestWithVariables = FixtureRegisterWithContext(registerVariableBuildComponents)
type variableProperties struct {
Product_variables struct {
Platform_sdk_version struct {