Community
Participate
Working Groups
Mylyn integration tests write to the System.err for monitoring progress. I noticed that in 0.14.0-SNAPSHOT the tycho-surefire-plugin no longer shows output that is written to System.err/out when running tests. Output with 0.13.0: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.eclipse.mylyn.tests.AllTests System: Linux 2.6.18-028stab092.1 (i386) / linux-x86-gtk / Sun Microsystems Inc. Java HotSpot(TM) Client VM 1.6.0_26 Proxy : null (Platform) / [DIRECT] (Java) Running testTrustAllSslProtocolSocketFactory(org.eclipse.mylyn.commons.tests.net.SslProtocolSocketFactoryTest) Running testConnectCancelStalledConnect(org.eclipse.mylyn.commons.tests.net.WebUtilTest) Running testExecute(org.eclipse.mylyn.commons.tests.net.WebUtilTest) ... Results : Failed tests: testReadTimeout(org.eclipse.mylyn.commons.tests.net.WebUtilTest) testClose(org.eclipse.mylyn.commons.tests.net.TimeoutInputStreamTest) testCloseTimeout(org.eclipse.mylyn.commons.tests.net.TimeoutInputStreamTest) Tests in error: testTimeTracker(org.eclipse.mylyn.bugzilla.tests.BugzillaRepositoryConnectorTest) Tests run: 2185, Failures: 3, Errors: 1, Skipped: 0 [ERROR] There are test failures. Output with 0.14.0-SNAPSHOT: ------------------------------------------------------- T E S T S ------------------------------------------------------- Running org.eclipse.mylyn.tests.AllTests Tests run: 2315, Failures: 3, Errors: 3, Skipped: 0, Time elapsed: 1,912.402 sec <<< FAILURE! Results : Failed tests: testUserInfo(org.eclipse.mylyn.bugzilla.tests.core.BugzillaXmlRpcClientTest): expected:<2> but was:<0> testMarkStaleTasks(org.eclipse.mylyn.trac.tests.core.TracTaskDataHandlerXmlRpcTest): Failed to update ticket modification time: ticket id=17, lastModified=1325510638, mostRectentlyModified=1325510639 testClientManagerChangeTaskRepositorySettings(org.eclipse.mylyn.trac.tests.core.TracRepositoryConnectorTest): expected:<Web> but was:<XML-RPC> Tests in error: testXmlRpcBugGet(org.eclipse.mylyn.bugzilla.tests.core.BugzillaXmlRpcClientTest): XmlRpcException: testValidateValidUrl(org.eclipse.mylyn.hudson.tests.client.HudsonClientTest) testValidateValidUrl(org.eclipse.mylyn.hudson.tests.client.HudsonClientTest) Tests run: 2315, Failures: 3, Errors: 3, Skipped: 0 [ERROR] There are test failures.
console logs should be found in target/surefire-reports/*.txt But you are right the default for the surefire parameter "redirectTestOutputToFile" http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html#redirectTestOutputToFile was accidentally changed (and hardcoded) to true when porting to surefire 2.10 and I will revert this to the old behaviour (and make it configurable same as in maven-surefire-plugin).
Great, thanks!
http://git.eclipse.org/c/tycho/org.eclipse.tycho.git/commit/?id=b041300118fcadf201cd37354706e03c1f3f615f