[K/N] Fix -Ptest_compile_only for iosArm64 target

We don't need to configure Xcode or disable some tests when running
tests in compile-only mode.
This commit is contained in:
Sergey Bogolepov
2022-03-28 17:16:43 +03:00
committed by Space
parent 0bc6885b2c
commit 027c51653d
@@ -6107,7 +6107,7 @@ project.tasks.register("debugger_test", Test.class) {
}
// Configure build for iOS device targets.
if (UtilsKt.supportsRunningTestsOnDevice(target)) {
if (UtilsKt.supportsRunningTestsOnDevice(target) && !UtilsKt.getCompileOnlyTests(project)) {
project.tasks
.withType(KonanTestExecutable.class)
.configureEach {