diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2010-09-30 01:58:23 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2010-09-30 01:58:23 +0000 |
| commit | 50e260bed1ecc54802eda16c0b98e0c02e93989c (patch) | |
| tree | d2c9aa1c1521fa72d4923dda03d217f4d570d2a0 /java/testkit/bin | |
| parent | 48e39cda054c0bd4b6e79c4b307a705daa5ff0ae (diff) | |
| download | qpid-python-50e260bed1ecc54802eda16c0b98e0c02e93989c.tar.gz | |
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
Diffstat (limited to 'java/testkit/bin')
| -rw-r--r-- | java/testkit/bin/setenv.sh | 10 |
1 files changed, 10 insertions, 0 deletions
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/"` |
