Add previously-undeclared dependency of tests on native library

This commit is contained in:
Ben Liblit 2018-01-20 18:20:56 -06:00
parent a98b913373
commit 7c4c2c895c
1 changed files with 5 additions and 6 deletions

View File

@ -92,11 +92,10 @@ model {
}
}
}
}
// TODO: Java tests in this subproject should depend on the xlator_test library at run time
test {
// TODO: compute path on following line from 'xlator_test' library properties somehow
systemProperty 'java.library.path', "$buildDir/libs/xlator_test/shared"
tasks.test {
dependsOn xlator_testSharedLibrary
// TODO: compute path on following line from 'xlator_test' library properties somehow
systemProperty 'java.library.path', "$buildDir/libs/xlator_test/shared"
}
}