Documentation ¶
Overview ¶
Package testplan contains the main application code for the testplan tool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate( ctx context.Context, planFilenames []string, buildMetadataList *buildpb.SystemImage_BuildMetadataList, dutAttributeList *testpb.DutAttributeList, configBundleList *payload.ConfigBundleList, planToTemplateParametersList map[string][]*plan.SourceTestPlan_TestPlanStarlarkFile_TemplateParameters, ) ([]*test_api_v1.HWTestPlan, []*test_api_v1.VMTestPlan, error)
Generate evals the Starlark files in planFilenames to produce a list of HWTestPlans and VMTestPlans.
planFilenames must be non-empty. buildMetadataList, dutAttributeList, and configBundleList must be non-nil.
All keys in planToTemplateParametersList must be in planFilenames. If a plan does have a list of TemplateParameters, the plan will be evaluated once for each of the TemplateParameters.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package compatibility provides functions for backwards compatiblity with test platform.
|
Package compatibility provides functions for backwards compatiblity with test platform. |
Package protoio contains helper methods for proto I/O done by the testplan tool.
|
Package protoio contains helper methods for proto I/O done by the testplan tool. |
Click to show internal directories.
Click to hide internal directories.