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 ¶
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 ¶
func SetupTestRepo(t testutils.TestingT) (context.Context, *git_testutils.GitBuilder, string, string)
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.
Click to show internal directories.
Click to hide internal directories.