[ http://jira.codehaus.org/browse/SUREFIRE-686?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=252005#action_252005 ]
panxiaobo commented on SUREFIRE-686: ------------------------------------ hi Kristian Rosenvold, I tried 2.7.2-SNAPSHOT in trunk (r1060396) and got the same error. The test framework is jUnit4.5. > maven reported "BUILD FAILURE" even if all tests passed > ------------------------------------------------------- > > Key: SUREFIRE-686 > URL: http://jira.codehaus.org/browse/SUREFIRE-686 > Project: Maven Surefire > Issue Type: Bug > Affects Versions: 2.7.1 > Environment: windows 2003 zh_CN > jdk 1.5.0_07 > maven 2.2.1, 3.0.1, 3.0.2 > Reporter: panxiaobo > Attachments: build-output.txt > > > I tried to build a project with maven, the project contains junit test. > maven reported "BUILD FAILURE" even if all tests passed. > maven output: > ============================= > Results : > Tests run: 9, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] There are test failures. > ============================= > one of the tests is using jacob 1.14.3 to instance a COM, and after deleting > the test, maven build successfully. > more detail output are attached -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira