autopkgtest

package
v0.0.0-...-921daf7 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2016 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutoPkgTest

type AutoPkgTest struct {
	// SourceCodePath is the location of the source code on the host.
	SourceCodePath string
	// TestArtifactsPath is the location of the test artifacts on the host.
	TestArtifactsPath string
	// TestFilter is an optional string to select a subset of tests.
	TestFilter string
	// IntegrationTestName is the name of the binary that runs the integration tests.
	IntegrationTestName string
	// ShellOnFail is used in case of failure to open a shell on the testbed before shutting it down.
	ShellOnFail bool
}

AutoPkgTest is the type that knows how to call adt-run

func (*AutoPkgTest) AdtRunLocal

func (a *AutoPkgTest) AdtRunLocal(imgPath string) error

AdtRunLocal starts a kvm running the image passed as argument and runs the autopkgtests using it as the testbed.

func (*AutoPkgTest) AdtRunRemote

func (a *AutoPkgTest) AdtRunRemote(testbedIP string, testbedPort int) error

AdtRunRemote runs the autopkgtests using a remote machine as the testbed.

Jump to

Keyboard shortcuts

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