summaryrefslogtreecommitdiff
path: root/cpp/src
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
commitff24d7c03e287abbc303dc01281db04fea6114b7 (patch)
treeac064e5be7d6cb56d5f01594e6a0e79c8aefbe33 /cpp/src
parent50a1d003de651f4f372d8fcb5c37bef4a9104082 (diff)
downloadqpid-python-ff24d7c03e287abbc303dc01281db04fea6114b7.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/qpid@1619236 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/tests/test_env.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/tests/test_env.sh.in b/cpp/src/tests/test_env.sh.in
index b92416b415..96f1596890 100644
--- a/cpp/src/tests/test_env.sh.in
+++ b/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