Ticket #5115 (closed enhancement: fixed)

Opened 13 months ago

Last modified 12 months ago

[patch][cla]D.O.H. in Rhino should return an appropriate exit code when tests fail

Reported by: guest Owned by: peller
Priority: normal Milestone: 1.1
Component: TestFramework Version: 1.0
Severity: normal Keywords:
Cc:

Description

D.O.H., when run in Rhino, always returns an exit code of 0 (success) even if tests fail or have errors. This makes it inconvenient for use as part of automated builds. Many build systems use an exit code to determine if the command succeeded and fail the build for exit codes greater than zero.

D.O.H. under Rhino can use Rhino's quit function and pass it an integer greater than 0 if there are any test errors or failures.

Attachments

exitCodeRhinoDOH.patch (0.5 kB) - added by guest 13 months ago.
Patch which adds support to D.O.H. in Rhino for returning a non-zero exit code in case of errors or failures in tests.

Change History

Changed 13 months ago by guest

Patch which adds support to D.O.H. in Rhino for returning a non-zero exit code in case of errors or failures in tests.

Changed 13 months ago by peller

great patch, but who filed it? cla?

Changed 12 months ago by peller

  • owner changed from alex to peller
  • summary changed from D.O.H. in Rhino should return an appropriate exit code when tests fail to [patch][no cla]D.O.H. in Rhino should return an appropriate exit code when tests fail
  • milestone set to 1.1

Patch filed by Jordi Albornoz Mulligan, Cambridge Semantics. Working on a CLA.

Changed 12 months ago by peller

  • summary changed from [patch][no cla]D.O.H. in Rhino should return an appropriate exit code when tests fail to [patch][cla]D.O.H. in Rhino should return an appropriate exit code when tests fail

cla confirmed

Changed 12 months ago by peller

  • status changed from new to closed
  • resolution set to fixed

(In [11707]) DOH from command line returns non-zero code upon exit. Thanks, Jordi. Fixes #5115.

Note: See TracTickets for help on using tickets.