Make sure ApacheDS work directory is set correctly for separate LDAP test task in config module.

This commit is contained in:
Luke Taylor 2010-09-16 10:50:12 +01:00
parent 551166a577
commit 7dd8cd2fb9
3 changed files with 3 additions and 1 deletions

View File

@ -40,6 +40,7 @@ dependencies {
}
task ldapTests(type: Test) {
jvmArgs = ['-ea', '-Xmx500m', "-DapacheDSWorkDir=${buildDir}/apacheDSWork"]
include ("**/ldap/**")
maxParallelForks = 1
// GRADLE-1090

View File

@ -47,7 +47,7 @@ sourceSets.main.compileClasspath += configurations.provided
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
test {
jvmArgs = ['-ea', '-Xmx500m', "-DapacheDSWorkDir=${buildDir}/apacheDSWork"]
jvmArgs = ['-ea', '-Xmx500m']
maxParallelForks = guessMaxForks()
testReport = false
}

View File

@ -3,6 +3,7 @@
test {
exclude('**/OpenLDAPIntegrationTestSuite.class')
maxParallelForks = 1
jvmArgs "-DapacheDSWorkDir=${buildDir}/apacheDSWork"
}
apacheds_libs = [