Find the "xlator_test" shared library at test run time
Dependencies are still not set properly here, so you need to have built the shared library ("./gradlew xlator_testSharedLibrary") before running the ":com.ibm.wala.cast.test:test" test task. But at least the tests do now find and load that shared library properly.
This commit is contained in:
parent
5d5fa18b5f
commit
3d973e9d61
|
@ -86,4 +86,9 @@ model {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO: running the Java tests in this subproject requires the xlator_test library, since the Java test code loads the xlator_test library at run time
|
// 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"
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue