Index: lucene/common-build.xml =================================================================== --- lucene/common-build.xml (revision 1682544) +++ lucene/common-build.xml (working copy) @@ -1337,6 +1337,9 @@ # Do *not* filter stack traces emitted to the console. ant -Dtests.filterstacks=false +# Skip checking for no-executed tests in modules +ant -Dtests.ifNoTests=ignore ... + # Output test files and reports. ${tests-output}/tests-report.txt - full ASCII tests report ${tests-output}/tests-failures.txt - failures only (if any) @@ -1490,7 +1493,7 @@ }); statsFile.delete(); - if (total == 0) { + if (total == 0 && !"ignore".equals(project.getProperty("tests.ifNoTests"))) { throw new BuildException("Not even a single test was executed (a typo in the filter pattern maybe?)."); }