[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:
@@ -6107,7 +6107,7 @@ project.tasks.register("debugger_test", Test.class) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Configure build for iOS device targets.
|
// Configure build for iOS device targets.
|
||||||
if (UtilsKt.supportsRunningTestsOnDevice(target)) {
|
if (UtilsKt.supportsRunningTestsOnDevice(target) && !UtilsKt.getCompileOnlyTests(project)) {
|
||||||
project.tasks
|
project.tasks
|
||||||
.withType(KonanTestExecutable.class)
|
.withType(KonanTestExecutable.class)
|
||||||
.configureEach {
|
.configureEach {
|
||||||
|
|||||||
Reference in New Issue
Block a user