[
https://issues.apache.org/jira/browse/JDO-765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16282180#comment-16282180
]
Tilmann Zäschke edited comment on JDO-765 at 12/7/17 5:13 PM:
--------------------------------------------------------------
Checked in SVN revision 1815861 n 2017-11-20
was (Author: tilmann):
Checked in SVN revision 1815861
> TCK should fail if tests fail
> -----------------------------
>
> Key: JDO-765
> URL: https://issues.apache.org/jira/browse/JDO-765
> Project: JDO
> Issue Type: Bug
> Components: tck
> Affects Versions: JDO 3.1
> Reporter: Tilmann Zäschke
> Assignee: Tilmann Zäschke
> Priority: Trivial
> Fix For: JDO 3.2
>
> Attachments: JDO-765-patch-v4.txt
>
>
> Currently, TCK test failures are reported to the console and in the logs, but
> the Maven build still succeeds.
> The proposal is to make the behavior configurable, the default being that the
> Maven build fails if any TCK tests fail.
> The new configuration option would be called "-Djdo.tck.onFailure" and have
> the following options:
> * "failFast" will immediately abort the test run.
> * "failEventually" (default) will execute the whole TCK before failing.
> * "logOnly" will report failures to console and logs only but return
> 'SUCCESS' to the Maven execution environment.
> Attached is a patch with an implementation of the proposed changes.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)