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

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.

(cherry picked from commit a52e1846f338f6869273181c6f248579581fa68c)
This commit is contained in:
Marios Trivyzas 2020-09-30 20:03:19 +02:00 committed by GitHub
parent 0ebaf8a3ec
commit f69d268500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

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