1
0
mirror of https://github.com/chylex/IntelliJ-IdeaVim.git synced 2025-05-12 00:34:06 +02:00

Disable some IJ additional checks

This commit is contained in:
Alex Plate 2024-10-25 17:29:07 +03:00
parent 152066b73c
commit 6b751fae6e
No known key found for this signature in database
GPG Key ID: 0B97153C8FFEC09F

View File

@ -54,6 +54,19 @@ intellijPlatform {
tasks {
test {
useJUnitPlatform()
// Set teamcity env variable locally to run additional tests for leaks.
// By default, this test runs on TC only, but this test doesn't take a lot of time,
// so we can turn it on for local development
if (environment["TEAMCITY_VERSION"] == null) {
println("Set env TEAMCITY_VERSION to X to enable project leak checks from the platform")
environment("TEAMCITY_VERSION" to "X")
}
// IJ platform has JUnit5TestSessionListener with some additional checks;
// however, in 242 there is a problem with disposing so these checks always fail on TeamCity (works locally).
// This property disables these checks
systemProperty("intellij.build.test.ignoreFirstAndLastTests", true)
}
}