From 50e260bed1ecc54802eda16c0b98e0c02e93989c Mon Sep 17 00:00:00 2001 From: Rajith Muditha Attapattu Date: Thu, 30 Sep 2010 01:58:23 +0000 Subject: Added the ability to load the store module via installed rpms or using an explicitly specified location. Moved common functionality into base class and helper methods. Added several test cases for the ConcurrencyTest class. (Temporarily removed the FailoverTests.) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1002928 13f79535-47bb-0310-9956-ffa450edef68 --- java/testkit/bin/setenv.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'java/testkit/bin') diff --git a/java/testkit/bin/setenv.sh b/java/testkit/bin/setenv.sh index 71bb219dcf..e6a726eef1 100644 --- a/java/testkit/bin/setenv.sh +++ b/java/testkit/bin/setenv.sh @@ -60,6 +60,16 @@ if [ "$CLUSTER_LIB" = "" ] ; then fi fi +if [ "$STORE_LIB" = "" ] ; then + if [ -e /usr/lib64/qpid/daemon/msgstore.so ] ; then + CLUSTER_LIB="/usr/lib64/qpid/daemon/msgstore.so" + elif [ -e /usr/lib/qpid/daemon/msgstore.so ] ; then + CLUSTER_LIB="/usr/lib/qpid/daemon/msgstore.so" + else + echo "WARNING: skipping test, STORE_LIB not set and msgstore.so not found."; exit 0; + fi +fi + if [ "$QP_CP" = "" ] ; then if [ -d ../../build/lib/ ]; then QP_JAR_PATH=`abs_path "../../build/lib/"` -- cgit v1.2.1