prepare

package
v0.0.0-...-b5d9cbe Latest Latest
Warning

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

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

Documentation

Overview

Package prepare implements the preparation phase of Tast CLI. Preparation steps include building/pushing test bundles (when -build=true) and downloading private test bundles (when -build=false).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckPrivateBundleFlag

func CheckPrivateBundleFlag(ctx context.Context, cfg *config.Config) error

CheckPrivateBundleFlag instructed in cfg, it builds and pushes the local test runner and test bundles, and downloads private test bundles.

func Prepare

func Prepare(ctx context.Context, cfg *config.Config, driver *driver.Driver) (*protocol.DUTInfo, error)

Prepare prepares target DUT for running tests. It returns the DUTInfo for the primary DUT.

Types

This section is empty.

Jump to

Keyboard shortcuts

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