Documentation ¶
Index ¶
- Variables
- func CheckConsole(output []byte, t *register.Test) []string
- func FilterTests(tests map[string]*register.Test, patterns []string, channel, offering string, ...) (map[string]*register.Test, error)
- func NewFlight(pltfrm string) (flight platform.Flight, err error)
- func RunTests(patterns []string, channel, offering, pltfrm, outputDir string, ...) error
- func ScpKolet(c cluster.TestCluster, mArch string)
- func SetupOutputDir(outputDir, platform string) (string, error)
- type NativeRunner
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Options = platform.Options{} AWSOptions = awsapi.Options{Options: &Options} // glue to set platform options from main AzureOptions = azureapi.Options{Options: &Options} // glue to set platform options from main DOOptions = doapi.Options{Options: &Options} // glue to set platform options from main ESXOptions = esxapi.Options{Options: &Options} // glue to set platform options from main ExternalOptions = external.Options{Options: &Options} // glue to set platform options from main GCEOptions = gcloudapi.Options{Options: &Options} // glue to set platform options from main OpenStackOptions = openstackapi.Options{Options: &Options} // glue to set platform options from main EquinixMetalOptions = equinixmetalapi.Options{Options: &Options} // glue to set platform options from main QEMUOptions = qemu.Options{Options: &Options} // glue to set platform options from main TestParallelism int //glue var to set test parallelism from main TAPFile string // if not "", write TAP results here TorcxManifestFile string // torcx manifest to expose to tests, if set DevcontainerURL string // dev container to expose to tests, if set DevcontainerBinhostURL string // dev container binhost URL to use in the devcontainer test DevcontainerFile string // dev container path to expose to tests, if set // TorcxManifest is the unmarshalled torcx manifest file. It is available for // tests to access via `kola.TorcxManifest`. It will be nil if there was no // manifest given to kola. TorcxManifest *torcx.Manifest = nil UpdatePayloadFile string ForceFlatcarKey bool )
Functions ¶
func CheckConsole ¶ added in v0.8.0
CheckConsole checks some console output for badness and returns short descriptions of any badness it finds. If t is specified, its flags are respected.
func FilterTests ¶ added in v0.20.0
func RunTests ¶
func RunTests(patterns []string, channel, offering, pltfrm, outputDir string, sshKeys *[]agent.Key, remove bool) error
RunTests is a harness for running multiple tests in parallel. Filters tests based on glob patterns and by platform. Has access to all tests either registered in this package or by imported packages that register tests in their init() function. outputDir is where various test logs and data will be written for analysis after the test run. If it already exists it will be erased!
func ScpKolet ¶ added in v0.20.0
func ScpKolet(c cluster.TestCluster, mArch string)
ScpKolet searches for a kolet binary and copies it to the machine.
func SetupOutputDir ¶ added in v0.6.0
Types ¶
Click to show internal directories.
Click to hide internal directories.