summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/tests
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2014-08-20 21:30:30 +0000
committerAlan Conway <aconway@apache.org>2014-08-20 21:30:30 +0000
commit8ff9d718edc2f219890003f89a88feaa25f04051 (patch)
treecd6e712626e54150a8c740c866be9496eb4e3814 /qpid/cpp/src/tests
parent9e8aad696474f8ef35fcc52fa14537f613f62f0c (diff)
downloadqpid-python-8ff9d718edc2f219890003f89a88feaa25f04051.tar.gz
NO-JIRA: test_env.sh to pick up whichever of linearstore.so or legacystore.so is built.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619236 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
-rw-r--r--qpid/cpp/src/tests/test_env.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/test_env.sh.in b/qpid/cpp/src/tests/test_env.sh.in
index b92416b415..96f1596890 100644
--- a/qpid/cpp/src/tests/test_env.sh.in
+++ b/qpid/cpp/src/tests/test_env.sh.in
@@ -74,7 +74,8 @@ export TEST_STORE_LIB=$testmoduledir/test_store.so
exportmodule() { test -f $moduledir/$2 && eval "export $1=$moduledir/$2"; }
exportmodule HA_LIB ha.so
exportmodule XML_LIB xml.so
-exportmodule STORE_LIB legacystore.so
+test "$STORE_LIB" || exportmodule STORE_LIB linearstore.so
+test "$STORE_LIB" || exportmodule STORE_LIB legacystore.so
exportmodule AMQP_LIB amqp.so
# Qpid options