[build][precommit] fix :backend.native:sanity
it's missed download test-data step.
This commit is contained in:
@@ -169,6 +169,9 @@ run {
|
|||||||
}
|
}
|
||||||
|
|
||||||
task sanity {
|
task sanity {
|
||||||
|
if (!project.hasProperty("test.disable_update")) {
|
||||||
|
update_external_tests()
|
||||||
|
}
|
||||||
dependsOn(tasksOf { it instanceof KonanTest && it.inDevelopersRun &&
|
dependsOn(tasksOf { it instanceof KonanTest && it.inDevelopersRun &&
|
||||||
!it.getDependsOn().contains(':distPlatformLibs') })
|
!it.getDependsOn().contains(':distPlatformLibs') })
|
||||||
dependsOn(tasksOf { it instanceof RunStdlibTest })
|
dependsOn(tasksOf { it instanceof RunStdlibTest })
|
||||||
@@ -3181,7 +3184,7 @@ task runKonanRegexTests(type: RunKonanTest) {
|
|||||||
|
|
||||||
task buildKonanStdlibTests(type: BuildKonanTest) {
|
task buildKonanStdlibTests(type: BuildKonanTest) {
|
||||||
outputSourceSetName = "testOutputStdlib"
|
outputSourceSetName = "testOutputStdlib"
|
||||||
flags = [ "-Xmulti-platform", "-friend-modules", project.rootProject.file("dist/klib/common/stdlib") ]
|
flags = [ "-Xmulti-platform", "-friend-modules", project.rootProject.file("${project.properties['konan.home']}/klib/common/stdlib") ]
|
||||||
def testSources = externalStdlibTestsDir.absolutePath
|
def testSources = externalStdlibTestsDir.absolutePath
|
||||||
compileList = [ "$testSources/stdlib/test", "$testSources/stdlib/common",
|
compileList = [ "$testSources/stdlib/test", "$testSources/stdlib/common",
|
||||||
"stdlib_external/utils.kt", "stdlib_external/jsCollectionFactoriesActuals.kt" ]
|
"stdlib_external/utils.kt", "stdlib_external/jsCollectionFactoriesActuals.kt" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user