Documentation ¶
Overview ¶
Package vkbench manipulates the test flow of running vkbench test binaries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config interface { SetUp(ctx context.Context) error Run(ctx context.Context, preValue interface{}, outDir string) (string, error) TearDown(ctx context.Context) error IsHasty() bool }
Config is the interface that setup/runs/teardown the vkbench running environment.
type CrosConfig ¶
type CrosConfig struct {
Hasty bool // If hasty is true, glbench will run in hasty mode.
}
CrosConfig is the config to run in ChromeOS.
func (*CrosConfig) IsHasty ¶
func (config *CrosConfig) IsHasty() bool
IsHasty returns true if the given run should run in hasty mode.
func (*CrosConfig) Run ¶
func (config *CrosConfig) Run(ctx context.Context, fixtValue interface{}, outDir string) (string, error)
Run runs vkbench and returns the output.
Click to show internal directories.
Click to hide internal directories.