Browse Source

Don't fail bwc check if these are disabled (#38919)

Alpar Torok 6 years ago
parent
commit
ec00ae1f4b
1 changed files with 0 additions and 6 deletions
  1. 0 6
      build.gradle

+ 0 - 6
build.gradle

@@ -175,12 +175,6 @@ if (project.gradle.startParameter.taskNames.find { it.startsWith("checkPart") }
   // Disable BWC tests for checkPart* tasks as it's expected that this will run un it's own check
   // Disable BWC tests for checkPart* tasks as it's expected that this will run un it's own check
   bwc_tests_enabled = false
   bwc_tests_enabled = false
 }
 }
-if (project.gradle.startParameter.taskNames.contains("bwcTestSnapshots") && bwc_tests_enabled == false) {
-  throw new GradleException("BWC tests are disabled. " +
-          "This can happen if a branch happened to be created when they were disabled and can be solved by mergin at" +
-          "least to the commit on the parent branch that re-enabled them"
-  )
-}
 
 
 subprojects {
 subprojects {
   ext.bwc_tests_enabled = bwc_tests_enabled
   ext.bwc_tests_enabled = bwc_tests_enabled