testutils

package
v0.0.0-...-03d6fc4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BuildTask = "Build-Ubuntu-GCC-Arm7-Release-Android"
	TestTask  = "Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release"
	PerfTask  = "Perf-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Release"

	BT_PROJECT = "test-project"
)

Variables

This section is empty.

Functions

func SetupBigTable

func SetupBigTable(t testutils.TestingT) (string, string, func())

SetupBigTable performs setup for the TaskCfgCache in BigTable. Returns the BigTable instance name which should be used to instantiate TaskCfgCache and a cleanup function which should be deferred.

func SetupTestRepo

The test repo has two commits. The first commit adds a tasks.cfg file with two task specs: a build task and a test task, the test task depending on the build task. The second commit adds a perf task spec, which also depends on the build task. Therefore, there are five total possible tasks we could run:

Build@c1, Test@c1, Build@c2, Test@c2, Perf@c2

Returns the GitBuilder instance for the test repo, along with the commit hashes for c1 and c2.

Types

This section is empty.

Jump to

Keyboard shortcuts

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