Skip to content

Commit

Permalink
Show end-of-test summary when test is interrupted
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Mirić authored and Ivan Mirić committed Dec 17, 2021
1 parent 6249fd6 commit 6b247ba
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,8 @@ a commandline interface for interacting with it.`,
if common.IsInterruptError(err) ***REMOVED***
interrupt = err
***REMOVED***
if !conf.Linger.Bool ***REMOVED***
if interrupt == nil ***REMOVED***
return errext.WithExitCodeIfNone(err, exitcodes.GenericEngine)
***REMOVED***
return errext.WithExitCodeIfNone(interrupt, exitcodes.ScriptException)
if !conf.Linger.Bool && interrupt == nil ***REMOVED***
return errext.WithExitCodeIfNone(err, exitcodes.GenericEngine)
***REMOVED***
***REMOVED***
runCancel()
Expand Down

0 comments on commit 6b247ba

Please sign in to comment.