Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Commit

Permalink
[tests] Don't depend on host platform libs in cross-target tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ilmat192 committed Sep 20, 2019
1 parent db4d62a commit 9bf1ad9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion backend.native/tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -287,10 +287,11 @@ def createTestTasks(File testRoot, Class<Task> taskType, Closure taskConfigurati

void dependsOnPlatformLibs(Task t) {
if (!useCustomDist) {
t.dependsOn(':distPlatformLibs')
def testTarget = project.testTarget
if (testTarget != null && testTarget != project.hostName) {
t.dependsOn(":${testTarget}PlatformLibs")
} else {
t.dependsOn(':distPlatformLibs')
}
}
}
Expand Down

0 comments on commit 9bf1ad9

Please sign in to comment.