Replicate Maven's heap size limits for tests
This commit is contained in:
parent
1bfdf978f2
commit
51f748bddc
|
@ -18,3 +18,7 @@ dependencies {
|
|||
project(configuration: 'testArchives', path: ':com.ibm.wala.core.tests'),
|
||||
)
|
||||
}
|
||||
|
||||
test {
|
||||
maxHeapSize = '800M'
|
||||
}
|
||||
|
|
|
@ -20,3 +20,7 @@ dependencies {
|
|||
project(configuration: 'testArchives', path: ':com.ibm.wala.cast.js.test'),
|
||||
)
|
||||
}
|
||||
|
||||
test {
|
||||
maxHeapSize = '800M'
|
||||
}
|
||||
|
|
|
@ -12,6 +12,8 @@ dependencies {
|
|||
}
|
||||
|
||||
test {
|
||||
maxHeapSize = '800M'
|
||||
|
||||
// https://github.com/liblit/WALA/issues/5
|
||||
exclude '**/NodejsRequireTargetSelectorResolveTest.class'
|
||||
}
|
||||
|
|
|
@ -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'
|
||||
}
|
||||
|
|
|
@ -20,3 +20,7 @@ dependencies {
|
|||
}
|
||||
|
||||
processTestResources.dependsOn ':com.ibm.wala.cast.js.test.data:processTestResources'
|
||||
|
||||
test {
|
||||
maxHeapSize = '800M'
|
||||
}
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -29,6 +29,8 @@ dependencies {
|
|||
}
|
||||
|
||||
test {
|
||||
maxHeapSize = '1200M'
|
||||
|
||||
// https://github.com/liblit/WALA/issues/5
|
||||
exclude '**/ECJJavaIRTest.class'
|
||||
exclude '**/ECJSyncDuplicatorTest.class'
|
||||
|
|
Loading…
Reference in New Issue