Replicate test include/exclude patterns already used in Maven builds
This commit is contained in:
parent
9a2af5bbb8
commit
7fd8f02382
|
@ -81,6 +81,14 @@ subprojects { subproject ->
|
||||||
task eclipseProcessTestResources {
|
task eclipseProcessTestResources {
|
||||||
dependsOn processTestResources
|
dependsOn processTestResources
|
||||||
}
|
}
|
||||||
|
|
||||||
|
test {
|
||||||
|
include '**/*Test.class'
|
||||||
|
include '**/*TestCase.class'
|
||||||
|
include '**/*Tests.class'
|
||||||
|
include '**/Test*.class'
|
||||||
|
exclude '**/*AndroidLibs*.class'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -39,9 +39,6 @@ test {
|
||||||
systemProperty 'com.ibm.wala.junit.analyzingJar', 'true'
|
systemProperty 'com.ibm.wala.junit.analyzingJar', 'true'
|
||||||
systemProperty 'com.ibm.wala.junit.profile', 'short'
|
systemProperty 'com.ibm.wala.junit.profile', 'short'
|
||||||
classpath += files project(':com.ibm.wala.core.testdata').sourceSets.test.java.outputDir
|
classpath += files project(':com.ibm.wala.core.testdata').sourceSets.test.java.outputDir
|
||||||
|
|
||||||
// https://github.com/liblit/WALA/issues/5
|
|
||||||
exclude '**/PruneArrayOutOfBoundExceptionEdge.class'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
task cleanTest(type: Delete) {
|
task cleanTest(type: Delete) {
|
||||||
|
|
|
@ -140,7 +140,4 @@ processTestResources {
|
||||||
|
|
||||||
test {
|
test {
|
||||||
maxHeapSize = '800M'
|
maxHeapSize = '800M'
|
||||||
|
|
||||||
// intentionally skipped; not a bug
|
|
||||||
exclude '**/DynamicDalvikComparisonTestForAndroidLibs.class'
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue