Add "com.ibm.wala.core.testdata" to classpath for testing
This lets the "DynamicCallGraphTest" tests pass. The tests in that class expect to find some element of the classpath that includes the substring "com.ibm.wala.core.testdata". They then treat that as a collection of bytecode files to instrument.
This commit is contained in:
parent
4c179e51bc
commit
9a2af5bbb8
|
@ -23,6 +23,7 @@ dependencies {
|
|||
|
||||
processTestResources {
|
||||
def testdata = project(':com.ibm.wala.core.testdata')
|
||||
dependsOn testdata.compileTestJava
|
||||
dependsOn testdata.extractBcel
|
||||
dependsOn testdata.verifyJavaCup
|
||||
|
||||
|
@ -37,9 +38,9 @@ test {
|
|||
maxHeapSize = '800M'
|
||||
systemProperty 'com.ibm.wala.junit.analyzingJar', 'true'
|
||||
systemProperty 'com.ibm.wala.junit.profile', 'short'
|
||||
classpath += files project(':com.ibm.wala.core.testdata').sourceSets.test.java.outputDir
|
||||
|
||||
// https://github.com/liblit/WALA/issues/5
|
||||
exclude '**/DynamicCallGraphTest.class'
|
||||
exclude '**/PruneArrayOutOfBoundExceptionEdge.class'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue