Index: adaptors/eut/parameters.xml =================================================================== --- adaptors/eut/parameters.xml (revision 592699) +++ adaptors/eut/parameters.xml (working copy) @@ -67,5 +67,5 @@ - + Index: adaptors/eut33/parameters.xml =================================================================== --- adaptors/eut33/parameters.xml (revision 592699) +++ adaptors/eut33/parameters.xml (working copy) @@ -67,5 +67,5 @@ - + Index: tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTTXTReportEmitter.java =================================================================== --- tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTTXTReportEmitter.java (revision 592725) +++ tests/eut/summary-reporter/src/org/apache/harmony/eut/reporter/EUTTXTReportEmitter.java (working copy) @@ -25,6 +25,12 @@ */ final class EUTTXTReportEmitter { + /** + * Holds the maximum number of unexpected errors/failure to be included to + * report. + */ + private static int MAX_ERROR_FAILURE_NUMBER = 10; + /** Keeps the output stream to write the report.txt data into. */ private static PrintWriter out; @@ -104,7 +110,9 @@ } else { out.println("Unexpected failures : " + issuesNum); } + int reported_issues_num = 0; +EMIT_ERROR_FAILURE_RESULTS: for (int i = 0; i < EUTReporter.suiteList.size(); i++) { EUTSuiteInfo si = EUTReporter.suiteList.get(i); @@ -131,6 +139,20 @@ out.println(ti.testClass + '.' + ti.testName); out.println(ti.testIssueMessage); out.println(ti.testIssueContent.toString().trim()); + reported_issues_num++; + + /* + * The resulted report must not be too big, so one needs to + * limit a number of reported issues... + */ + if (reported_issues_num == MAX_ERROR_FAILURE_NUMBER) { + if (reported_issues_num != + si.unexpectedErrorFailureTests.size() - 1) { + out.println(); + out.println("...Skipped the rest of reports..."); + } + break EMIT_ERROR_FAILURE_RESULTS; + } } } }