Fix tests configure for ios_arm32 test target
This commit is contained in:
committed by
Pavel Punegov
parent
ba75bcb379
commit
1b6dac76d5
@@ -5,10 +5,13 @@
|
|||||||
|
|
||||||
import shadow.org.jetbrains.kotlin.gradle.plugin.tasks.KonanCompileNativeBinary
|
import shadow.org.jetbrains.kotlin.gradle.plugin.tasks.KonanCompileNativeBinary
|
||||||
import org.jetbrains.kotlin.*
|
import org.jetbrains.kotlin.*
|
||||||
|
import org.jetbrains.kotlin.konan.target.Family
|
||||||
import org.jetbrains.kotlin.konan.target.KonanTarget
|
import org.jetbrains.kotlin.konan.target.KonanTarget
|
||||||
|
|
||||||
import java.nio.file.Paths
|
import java.nio.file.Paths
|
||||||
|
|
||||||
|
import static org.jetbrains.kotlin.konan.target.Architecture.*
|
||||||
|
|
||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
@@ -4442,8 +4445,8 @@ dependencies {
|
|||||||
nopPluginCompile kotlinCompilerModule
|
nopPluginCompile kotlinCompilerModule
|
||||||
}
|
}
|
||||||
|
|
||||||
// Configure ios build
|
// Configure build for iOS device targets.
|
||||||
if (PlatformInfo.getTarget(project) == KonanTarget.IOS_ARM64.INSTANCE) {
|
if (target.family == Family.IOS && (target.architecture == ARM32 || target.architecture == ARM64)) {
|
||||||
project.tasks
|
project.tasks
|
||||||
.matching { it instanceof KonanTestExecutable }
|
.matching { it instanceof KonanTestExecutable }
|
||||||
.forEach {
|
.forEach {
|
||||||
|
|||||||
Reference in New Issue
Block a user