[K/N][Tests] Migrate driver test llvm_variant_dev

^KT-61259
This commit is contained in:
Vladimir Sukharev
2024-02-07 13:48:09 +01:00
committed by Space Team
parent 3ad8fed5a3
commit d8a90f55a8
4 changed files with 65 additions and 16 deletions
@@ -1730,22 +1730,6 @@ tasks.register("override_konan_properties0", KonanDriverTest) {
}
}
tasks.register("llvm_variant_dev", KonanDriverTest) {
// We use clang from Xcode on macOS for apple targets,
// so it is hard to reliably detect LLVM variant for these targets.
disabled = PlatformInfo.isAppleTarget(project)
|| isAggressiveGC // No need to test with different GC schedulers
flags = [
"-Xllvm-variant=dev",
"-Xverbose-phases=ObjectFiles"
]
compilerMessages = true
source = "link/ir_providers/hello.kt"
// User LLVM variant has "essentials" suffix.
def message = "-essentials"
outputChecker = { out -> !out.contains(message) }
}
/**
* Builds tests into a single binary with TestRunner
*/