starlark

package
v0.0.0-...-0342304 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Overview

Copyright 2021 The ChromiumOS Authors Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Copyright 2021 The ChromiumOS Authors Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecTestPlan

func ExecTestPlan(
	ctx context.Context,
	planFilename string,
	buildMetadataList *buildpb.SystemImage_BuildMetadataList,
	configBundleList *payload.ConfigBundleList,
	templateParameters *plan.SourceTestPlan_TestPlanStarlarkFile_TemplateParameters,
) ([]*test_api_v1.HWTestPlan, []*test_api_v1.VMTestPlan, error)

ExecTestPlan executes the Starlark file planFilename.

Builtins are provided to planFilename to access buildMetadataList and configBundleList, and add [VM,HW]TestPlans to the output.

A loader is provided to load proto constructors.

If templateParameters is non-nil, builtins are provided to access its fields. This function does not check that the suite_name field is used properly to prevent name collisions, this is the responsibility of the caller when there are multiple templateParameters for the same file.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL