mirror of https://github.com/apache/maven.git
print summary at the end
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239350 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
86069508dc
commit
a4d46f76c1
|
@ -645,6 +645,7 @@ public class Verifier
|
|||
|
||||
int exitCode = 0;
|
||||
|
||||
List failed = new ArrayList();
|
||||
for ( Iterator i = tests.iterator(); i.hasNext(); )
|
||||
{
|
||||
String test = (String) i.next();
|
||||
|
@ -700,9 +701,17 @@ public class Verifier
|
|||
verifier.displayLogFile();
|
||||
|
||||
exitCode = 1;
|
||||
|
||||
failed.add( test );
|
||||
}
|
||||
}
|
||||
|
||||
System.out.println( tests.size() - failed.size() + "/" + tests.size() + " passed" );
|
||||
if ( !failed.isEmpty() )
|
||||
{
|
||||
System.out.println( "Failed tests: " + failed );
|
||||
}
|
||||
|
||||
System.exit( exitCode );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue