Fix cross-compilation testing. (#2498)

This commit is contained in:
Nikolay Igotti
2018-12-26 00:40:09 +03:00
committed by GitHub
parent 28ab39f593
commit 3bc87ab5f6
+4 -1
View File
@@ -3074,6 +3074,9 @@ task produce_dynamic(type: DynamicKonanTest) {
}
task library_mismatch(type: RunStandaloneKonanTest) {
// Does not work for cross targets yet.
disabled = (project.testTarget != null && project.testTarget != project.hostName)
def dir = buildDir.absolutePath
def lib = "$projectDir/link/versioning/empty.kt"
@@ -3194,4 +3197,4 @@ task buildKonanTests(type: BuildKonanTest) {
excludeList += it.source
}
}
}
}