Browse Source

SQL: Allow skip of bwc tests on `check` task (#62936)

Bwc tests can consume much time to build and to run so it's nice to be
able to skip them when running the `check` task on the SQL module.

Introduce a new task `checkNoBwc` so one can use:
```
./gradlew -p x-pack/plugin/sql checkNoBwc
```
to skip them.
Marios Trivyzas 5 years ago
parent
commit
a52e1846f3
1 changed files with 6 additions and 0 deletions
  1. 6 0
      x-pack/plugin/sql/build.gradle

+ 6 - 0
x-pack/plugin/sql/build.gradle

@@ -132,3 +132,9 @@ tasks.register("regen") {
     }
   }
 }
+
+allprojects {
+  task checkNoBwc {
+    dependsOn tasks.withType(Test).matching { it.name.contains('bwc') == false }
+  }
+}