Skip to content

Commit

Permalink
No testLibrary for cross compilation targets.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-gorshenev committed Oct 23, 2017
1 parent eae2fd9 commit dc8840e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend.native/tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit dc8840e

Please sign in to comment.