Set working directory in the same way Maven does
This seems to help ECJSyncDuplicatorTest find a "./src/Monitor2.java" file that it needs. The test still fails, though, for other reasons.
This commit is contained in:
parent
da30f5dbb4
commit
1346a8ac55
|
@ -1,9 +1,6 @@
|
||||||
sourceSets.test {
|
sourceSets.test {
|
||||||
java.srcDirs = ['source']
|
java.srcDirs = ['source']
|
||||||
resources.srcDirs = [
|
resources.srcDirs = ['testdata']
|
||||||
'testdata',
|
|
||||||
project(':com.ibm.wala.cast.java.test.data').sourceSets.test.java,
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -36,4 +33,6 @@ test {
|
||||||
exclude '**/ECJSyncDuplicatorTest.class'
|
exclude '**/ECJSyncDuplicatorTest.class'
|
||||||
exclude '**/JDTJava15IRTests.class'
|
exclude '**/JDTJava15IRTests.class'
|
||||||
exclude '**/JDTJavaIRTests.class'
|
exclude '**/JDTJavaIRTests.class'
|
||||||
|
|
||||||
|
workingDir project(':com.ibm.wala.cast.java.test.data').projectDir
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue