From a6f1cd7f48279d486d12ef5432b7925137e8f961 Mon Sep 17 00:00:00 2001
From: el_kaboing <el_kaboing@localhost>
Date: Tue, 18 Jul 2006 16:34:36 +0000
Subject: [PATCH] Improved the runtime generation of the test.sh file from the build.sh script.
---
opendj-sdk/opends/tests/integration-tests-testng/build.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/opendj-sdk/opends/tests/integration-tests-testng/build.sh b/opendj-sdk/opends/tests/integration-tests-testng/build.sh
index 563c7e4..10f65d6 100755
--- a/opendj-sdk/opends/tests/integration-tests-testng/build.sh
+++ b/opendj-sdk/opends/tests/integration-tests-testng/build.sh
@@ -104,7 +104,7 @@
if [ $? -eq 0 ]; then
echo "Successfully built the integration test suite"
- echo "To run the integration test suite, please install OpenDS in the location of your choice."
+ echo "To run the integration test suite, please install and start OpenDS in the location of your choice."
echo "Remember to set the variables in ${ft_home}/ext/testng/testng.xml"
echo "To start the integration test suite, execute "
echo "${ft_home}/test.sh [OpenDS home directory]"
@@ -119,7 +119,7 @@
NEW_DIR=\${1}
cd \${NEW_DIR}
echo "OpenDS Integration Tests have started........."
-CLASSPATH="/export/dsee7/src/openDS/trunk/opends/tests/integration-tests-testng/ext/testng/lib/testng-4.7-jdk15.jar:/export/dsee7/src/openDS/trunk/opends/tests/integration-tests-testng/built:\${NEW_DIR}/lib/OpenDS.jar:\${NEW_DIR}/lib/je.jar"
+CLASSPATH="${ds_home}/ext/testng/lib/testng-4.7-jdk15.jar:${ft_home}/built:\${NEW_DIR}/lib/OpenDS.jar:\${NEW_DIR}/lib/je.jar"
java -ea -cp \${CLASSPATH} org.testng.TestNG -d /tmp/testng -listener org.opends.server.OpenDSTestListener ${ft_home}/ext/testng/testng.xml
cd ${OLD_DIR}
EOF
--
Gitblit v1.10.0