Don't fail bootstrap (or any) test module where a test filter don't match

Bug: b/303581610
Fixes: 303581610

Change-Id: I614434f00f4cec9498824760758232f3d2100c78
diff --git a/d8_r8/commonBuildSrc/src/main/kotlin/TestConfigurationHelper.kt b/d8_r8/commonBuildSrc/src/main/kotlin/TestConfigurationHelper.kt
index 943feea..09835cc 100644
--- a/d8_r8/commonBuildSrc/src/main/kotlin/TestConfigurationHelper.kt
+++ b/d8_r8/commonBuildSrc/src/main/kotlin/TestConfigurationHelper.kt
@@ -51,6 +51,7 @@
       test.systemProperty("USE_NEW_GRADLE_SETUP", "true")
       if (project.hasProperty("testfilter")) {
         val testFilter = project.property("testfilter").toString()
+        test.filter.setFailOnNoMatchingTests(false)
         test.filter.setIncludePatterns(*(testFilter.split("|").toTypedArray()))
       }
       if (project.hasProperty("kotlin_compiler_dev")) {