Home | History | Annotate | Download | only in instance

Lines Matching defs:Test

37 		return nil, fmt.Errorf("test instances can only work with qemu/gce")
147 // Test boots numVMs VMs, tests basic kernel operation, and optionally tests the provided reproducer.
150 func (env *Env) Test(numVMs int, reproSyz, reproOpts, reproC []byte) ([]error, error) {
176 go func() { res <- inst.test() }()
196 func (inst *inst) test() error {
262 return &TestError{Title: fmt.Sprintf("failed to copy test binary to VM: %v", err)}
266 return &TestError{Title: fmt.Sprintf("failed to copy test binary to VM: %v", err)}
269 cmd := FuzzerCmd(fuzzerBin, executorBin, "test", inst.cfg.TargetOS, inst.cfg.TargetArch, fwdAddr,
290 return fmt.Errorf("test machine failed to connect to host")
298 return &TestError{Title: fmt.Sprintf("failed to copy test binary to VM: %v", err)}
302 return &TestError{Title: fmt.Sprintf("failed to copy test binary to VM: %v", err)}
310 return &TestError{Title: fmt.Sprintf("failed to copy test binary to VM: %v", err)}
344 return &TestError{Title: fmt.Sprintf("failed to copy test binary to VM: %v", err)}
346 // We should test for longer (e.g. 5 mins), but the problem is that
367 cover, debug, test, runtest bool) string {
376 " -procs=%v -v=%d -cover=%v -debug=%v -test=%v -runtest=%v",
378 procs, verbosity, cover, debug, test, runtest)