This is an automated email from the ASF dual-hosted git repository. upthewaterspout pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/geode.git
commit 11cf1e17a00b26fb89860af1d77112195fc964a1 Author: Dan Smith <[email protected]> AuthorDate: Tue Aug 7 14:54:50 2018 -0700 GEODE-5387: Adding a flag to ignore failures for no tests Adding a flag to the repeatTest task to allow it to pass even if there are no valid tests. --- gradle/test.gradle | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gradle/test.gradle b/gradle/test.gradle index a92c29d..27caa89 100644 --- a/gradle/test.gradle +++ b/gradle/test.gradle @@ -200,6 +200,12 @@ subprojects { testClassesDirs += project.sourceSets.distributedTest.output.classesDirs classpath += project.sourceSets.integrationTest.runtimeClasspath testClassesDirs += project.sourceSets.integrationTest.output.classesDirs + + if(project.hasProperty("failOnNoMatchingTests")) { + filter { + setFailOnNoMatchingTests(Boolean.valueOf(project.failOnNoMatchingTests)) + } + } } task flakyTest(type:Test) {
