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:
Ben Liblit 2018-02-23 16:37:35 -06:00
parent 4c179e51bc
commit 9a2af5bbb8
1 changed files with 2 additions and 1 deletions

View File

@ -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'
}