From 3a177f36b1c5cd20ddf3f190a164dabe0236951e Mon Sep 17 00:00:00 2001 From: Michael Muller Date: Thu, 30 Sep 2021 10:46:36 -0400 Subject: [PATCH] Make :core:cleanTest depend on FilterTests (#1342) * Make :core:cleanTest depend on FilterTests The "cleanTest" target doesn't work for our specialized tests derived from FilterTest. Make them all explicit dependencies of cleanTest so we can reset the tests from a single target. --- core/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/build.gradle b/core/build.gradle index eb5d213ab..0f41f3434 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -1111,6 +1111,10 @@ test { // TODO(weiminyu): Remove dependency on sqlIntegrationTest }.dependsOn(fragileTest, outcastTest, standardTest, registryToolIntegrationTest, sqlIntegrationTest) +// When we override tests, we also break the cleanTest command. +cleanTest.dependsOn(cleanFragileTest, cleanOutcastTest, cleanStandardTest, + cleanRegistryToolIntegrationTest, cleanSqlIntegrationTest) + project.build.dependsOn devtool project.build.dependsOn buildToolImage project.build.dependsOn ':stage'