From dc8840e14c9d0254c3179752f7c5d8cfbe3f64d0 Mon Sep 17 00:00:00 2001 From: Alexander Gorshenev Date: Mon, 23 Oct 2017 15:31:25 +0300 Subject: [PATCH] No testLibrary for cross compilation targets. --- backend.native/tests/build.gradle | 3 +++ 1 file changed, 3 insertions(+) diff --git a/backend.native/tests/build.gradle b/backend.native/tests/build.gradle index 61deaf0c107..999b2021a0f 100644 --- a/backend.native/tests/build.gradle +++ b/backend.native/tests/build.gradle @@ -1244,6 +1244,9 @@ task link_default_libs(type: RunStandaloneKonanTest) { } task link_testLib_explicitly(type: RunStandaloneKonanTest) { + // there are no testLibrary for cross targets yet. + disabled = (project.testTarget != null && project.testTarget != project.hostName) + dependsOn ':klib:installTestLibrary' goldValue = "This is a side effect of a test library linked into the binary.\nYou should not be seeing this.\n\nHello\n" source = "link/omit/hello.kt"