Replicate Maven's heap size limits for tests

This commit is contained in:
Ben Liblit 2018-01-17 17:37:16 -06:00
parent 1bfdf978f2
commit 51f748bddc
7 changed files with 25 additions and 1 deletions

View File

@ -18,3 +18,7 @@ dependencies {
project(configuration: 'testArchives', path: ':com.ibm.wala.core.tests'),
)
}
test {
maxHeapSize = '800M'
}

View File

@ -20,3 +20,7 @@ dependencies {
project(configuration: 'testArchives', path: ':com.ibm.wala.cast.js.test'),
)
}
test {
maxHeapSize = '800M'
}

View File

@ -12,6 +12,8 @@ dependencies {
}
test {
maxHeapSize = '800M'
// https://github.com/liblit/WALA/issues/5
exclude '**/NodejsRequireTargetSelectorResolveTest.class'
}

View File

@ -20,4 +20,10 @@ dependencies {
)
}
test.environment 'TRAVIS', 1
test {
environment 'TRAVIS', 1
maxHeapSize = '800M'
// https://github.com/liblit/WALA/issues/5
exclude '**/NodejsRequireTargetSelectorResolveTest.class'
}

View File

@ -20,3 +20,7 @@ dependencies {
}
processTestResources.dependsOn ':com.ibm.wala.cast.js.test.data:processTestResources'
test {
maxHeapSize = '800M'
}

View File

@ -39,6 +39,8 @@ processTestResources {
}
test {
maxHeapSize = '800M'
// https://github.com/liblit/WALA/issues/5 and possibly https://github.com/wala/WALA/issues/268
exclude '**/AliasingTest.class'
exclude '**/AndroidSpecificTest.class'

View File

@ -29,6 +29,8 @@ dependencies {
}
test {
maxHeapSize = '1200M'
// https://github.com/liblit/WALA/issues/5
exclude '**/ECJJavaIRTest.class'
exclude '**/ECJSyncDuplicatorTest.class'