From 34efd9a493465bb678f06b633ad635aba8532838 Mon Sep 17 00:00:00 2001 From: Vasily Levchenko Date: Tue, 29 Jan 2019 15:48:46 +0300 Subject: [PATCH] [build][precommit] fix :backend.native:sanity it's missed download test-data step. --- backend.native/tests/build.gradle | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/backend.native/tests/build.gradle b/backend.native/tests/build.gradle index 4aa3631a569..bf8a5eaac8a 100644 --- a/backend.native/tests/build.gradle +++ b/backend.native/tests/build.gradle @@ -169,6 +169,9 @@ run { } task sanity { + if (!project.hasProperty("test.disable_update")) { + update_external_tests() + } dependsOn(tasksOf { it instanceof KonanTest && it.inDevelopersRun && !it.getDependsOn().contains(':distPlatformLibs') }) dependsOn(tasksOf { it instanceof RunStdlibTest }) @@ -3181,7 +3184,7 @@ task runKonanRegexTests(type: RunKonanTest) { task buildKonanStdlibTests(type: BuildKonanTest) { 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 compileList = [ "$testSources/stdlib/test", "$testSources/stdlib/common", "stdlib_external/utils.kt", "stdlib_external/jsCollectionFactoriesActuals.kt" ]