Skip to content

Commit

Permalink
Merge pull request #145 from olekp/testPackagesFix
Browse files Browse the repository at this point in the history
fixed bug: tests are not run when more packages are specified
  • Loading branch information
mosabua committed Nov 16, 2012
2 parents f729dd6 + a21dae4 commit 035eeb7
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -336,8 +336,11 @@ public void doWithDevice( final IDevice device ) throws MojoExecutionException,

if ( packagesExists )
{
remoteAndroidTestRunner.setTestPackageName( packagesList );
getLog().info( "Running tests for specified test packages: " + packagesList );
for ( String str : packagesList.split( "," ) )
{
remoteAndroidTestRunner.setTestPackageName( str );
getLog().info( "Running tests for specified test package: " + str );
}
}

if ( classesExists )
Expand Down

0 comments on commit 035eeb7

Please sign in to comment.