diff options
Diffstat (limited to 'xdelta3/go/src/xdelta/tgroup.go')
-rw-r--r-- | xdelta3/go/src/xdelta/tgroup.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xdelta3/go/src/xdelta/tgroup.go b/xdelta3/go/src/xdelta/tgroup.go index b1b04ec..602b1e1 100644 --- a/xdelta3/go/src/xdelta/tgroup.go +++ b/xdelta3/go/src/xdelta/tgroup.go | |||
@@ -58,7 +58,9 @@ func (g *Goroutine) OK() { | |||
58 | 58 | ||
59 | func (g *Goroutine) Panic(err error) { | 59 | func (g *Goroutine) Panic(err error) { |
60 | g.finish(err) | 60 | g.finish(err) |
61 | runtime.Goexit() | 61 | if g != g.TestGroup.main { |
62 | runtime.Goexit() | ||
63 | } | ||
62 | } | 64 | } |
63 | 65 | ||
64 | func (t *TestGroup) Main() *Goroutine { return t.main } | 66 | func (t *TestGroup) Main() *Goroutine { return t.main } |