From ec00ae1f4bcc8d6d44e7953af84cc17e4d1f93d5 Mon Sep 17 00:00:00 2001 From: Alpar Torok Date: Tue, 26 Feb 2019 09:10:23 +0200 Subject: [PATCH] Don't fail bwc check if these are disabled (#38919) --- build.gradle | 6 ------ 1 file changed, 6 deletions(-) diff --git a/build.gradle b/build.gradle index 517aeffef6afb..420d1b5553680 100644 --- a/build.gradle +++ b/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 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 { ext.bwc_tests_enabled = bwc_tests_enabled