mirror of https://github.com/apache/maven.git
use correct path in the verifier for artifact metadata, allow commas in the list of tests to run
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280088 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
285d97d93c
commit
6b02497ca4
|
@ -265,11 +265,11 @@ public class Verifier
|
|||
{
|
||||
if ( hasCommand )
|
||||
{
|
||||
l.add( command + " " + files[i] );
|
||||
l.add( command + " " + new File( dir, files[i] ).getPath() );
|
||||
}
|
||||
else
|
||||
{
|
||||
l.add( files[i] );
|
||||
l.add( new File( dir, files[i] ).getPath() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -698,11 +698,19 @@ public class Verifier
|
|||
for ( int i = 0; i < args.length; i++ )
|
||||
{
|
||||
String test = args[i];
|
||||
if ( test.endsWith( "," ) )
|
||||
{
|
||||
test = test.substring( 0, test.length() - 1 );
|
||||
}
|
||||
if ( !test.startsWith( "it" ) )
|
||||
{
|
||||
test = "it" + fmt.format( Integer.valueOf( test ) );
|
||||
}
|
||||
tests.add( test );
|
||||
test = test.trim();
|
||||
if ( test.length() > 0 )
|
||||
{
|
||||
tests.add( test );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue