aboutsummaryrefslogtreecommitdiffstats
path: root/jacoco-maven-plugin.test/it
diff options
context:
space:
mode:
authorMirko Friedenhagen <mfriedenhagen@gmail.com>2014-02-13 21:42:14 +0100
committerMirko Friedenhagen <mfriedenhagen@gmail.com>2014-02-13 21:42:14 +0100
commit9cd6a08f4754e3030643b3ccf4382b1d59c90c2a (patch)
tree2857017b2a4872a31f4232ca6726cb6fcaa15e71 /jacoco-maven-plugin.test/it
parent0d6990d0270b41550d6f5d343db499bdd3383db5 (diff)
downloadplatform_external_jacoco-9cd6a08f4754e3030643b3ccf4382b1d59c90c2a.tar.gz
platform_external_jacoco-9cd6a08f4754e3030643b3ccf4382b1d59c90c2a.tar.bz2
platform_external_jacoco-9cd6a08f4754e3030643b3ccf4382b1d59c90c2a.zip
Fix `it-report-nomatch` for Maven 2.2.1 as detected in #192.
This is compatible with Maven 3.1.1 and Maven 2.2.1.
Diffstat (limited to 'jacoco-maven-plugin.test/it')
-rw-r--r--jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh b/jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh
index e45c9ad7..fc640cb1 100644
--- a/jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh
+++ b/jacoco-maven-plugin.test/it/it-report-nomatch/verify.bsh
@@ -13,7 +13,7 @@ import java.io.*;
import org.codehaus.plexus.util.*;
String buildLog = FileUtils.fileRead( new File( basedir, "build.log" ) );
-if ( buildLog.indexOf( "Classes in bundle 'it-report-nomatch' do no match with execution data." ) < 0 ) {
+if ( buildLog.indexOf( "Classes in bundle " ) < 0 || buildLog.indexOf(" do no match with execution data." ) < 0 ) {
throw new RuntimeException( "Warning 1 was not printed" );
}
if ( buildLog.indexOf( "For report generation the same class files must be used as at runtime." ) < 0 ) {