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.
Click to show internal directories.
Click to hide internal directories.