|
|
@ -66,6 +66,7 @@ type Client struct {
|
|
|
|
Running bool `json:"running" yaml:"running" xml:"running"`
|
|
|
|
Running bool `json:"running" yaml:"running" xml:"running"`
|
|
|
|
Done chan bool `json:"-" yaml:"-" xml:"-"`
|
|
|
|
Done chan bool `json:"-" yaml:"-" xml:"-"`
|
|
|
|
Options *ClientOptions `json:"options" yaml:"options" xml:"options"`
|
|
|
|
Options *ClientOptions `json:"options" yaml:"options" xml:"options"`
|
|
|
|
|
|
|
|
Debug bool `json:"-" yaml:"-" xml:"-"`
|
|
|
|
exitCode *int
|
|
|
|
exitCode *int
|
|
|
|
report *TestReport
|
|
|
|
report *TestReport
|
|
|
|
outputStream io.ReadCloser
|
|
|
|
outputStream io.ReadCloser
|
|
|
@ -497,14 +498,16 @@ func (c *Client) Start() (err error) {
|
|
|
|
return err
|
|
|
|
return err
|
|
|
|
}
|
|
|
|
}
|
|
|
|
c.Running = true
|
|
|
|
c.Running = true
|
|
|
|
//go func() {
|
|
|
|
if c.Debug {
|
|
|
|
// ds := DebugScanner{Silent: false}
|
|
|
|
go func() {
|
|
|
|
// ds.Scan(c.outputStream)
|
|
|
|
ds := DebugScanner{Silent: false}
|
|
|
|
//}()
|
|
|
|
ds.Scan(c.outputStream)
|
|
|
|
//go func() {
|
|
|
|
}()
|
|
|
|
// ds := DebugScanner{Silent: false}
|
|
|
|
go func() {
|
|
|
|
// ds.Scan(c.errorStream)
|
|
|
|
ds := DebugScanner{Silent: false}
|
|
|
|
//}()
|
|
|
|
ds.Scan(c.errorStream)
|
|
|
|
|
|
|
|
}()
|
|
|
|
|
|
|
|
}
|
|
|
|
go func() {
|
|
|
|
go func() {
|
|
|
|
var reporter *Reporter
|
|
|
|
var reporter *Reporter
|
|
|
|
if c.live {
|
|
|
|
if c.live {
|
|
|
|