From af38e94b5ef58e0a1bd8f757bc464cb6084951dc Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Tue, 17 Oct 2006 16:36:02 +0000
Subject: [PATCH] Fixed a bug where the ldif files could not be found when the integration tests were running.
---
opendj-sdk/opends/tests/integration-tests-testng/testng.xml.stubs | 2 +-
opendj-sdk/opends/tests/integration-tests-testng/build.xml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/build.xml b/opendj-sdk/opends/tests/integration-tests-testng/build.xml
index bee9709..8e12270 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/build.xml
+++ b/opendj-sdk/opends/tests/integration-tests-testng/build.xml
@@ -39,7 +39,7 @@
<!-- General build-wide properties -->
<property name="opends.dir" location="../.." />
- <property name="tests.src.dir" location="src/server" />
+ <property name="tests.src.dir" location="${basedir}/src/server" />
<property name="tests.build.dir"
location="${opends.dir}/build/integration-tests" />
<property name="tests.classes"
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/testng.xml.stubs b/opendj-sdk/opends/tests/integration-tests-testng/testng.xml.stubs
index bae0429..417a3b4 100644
--- a/opendj-sdk/opends/tests/integration-tests-testng/testng.xml.stubs
+++ b/opendj-sdk/opends/tests/integration-tests-testng/testng.xml.stubs
@@ -7,7 +7,7 @@
<parameter name="bindDN" value="${bindDN}"/>
<parameter name="bindPW" value="${password}"/>
<parameter name="integration_test_home"
- value="${tests.classes}/org/opends/server/integration"/>
+ value="${tests.src.dir}/org/opends/server/integration"/>
<parameter name="logDir" value="${tests.run.dir}/logs/tests"/>
<parameter name="dsee_home" value="${full.install.dir}"/>
<parameter name="backupDir" value="${tests.run.dir}/backup"/>
--
Gitblit v1.10.0