diff options
| author | Alan Conway <aconway@apache.org> | 2013-03-07 17:25:35 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2013-03-07 17:25:35 +0000 |
| commit | 5e45cf6dcae0f9e7aa216b3c9653463ff1dcda64 (patch) | |
| tree | 6357d82964949bd2fdb7ca405e61de4c37b41d32 /cpp | |
| parent | 8825289ef0300dc70bfdcd92e067a23f6eafe8ac (diff) | |
| download | qpid-python-5e45cf6dcae0f9e7aa216b3c9653463ff1dcda64.tar.gz | |
QPID-4630: HA enable store tests if legacystore is built.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1453970 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
| -rw-r--r-- | cpp/INSTALL | 3 | ||||
| -rw-r--r-- | cpp/src/tests/CMakeLists.txt | 3 | ||||
| -rwxr-xr-x | cpp/src/tests/ha_store_tests.py | 4 | ||||
| -rw-r--r-- | cpp/src/tests/test_env.sh.in | 1 |
4 files changed, 8 insertions, 3 deletions
diff --git a/cpp/INSTALL b/cpp/INSTALL index c503f8de19..770a16f72f 100644 --- a/cpp/INSTALL +++ b/cpp/INSTALL @@ -119,6 +119,9 @@ For the XML Exchange, include: Optional ruby binding support include: # yum install ruby ruby-devel swig +Optional legacystore store module. +# yum install libdb-cxx-devel libaio-devel + Follow the manual installation instruction below for any packages not available through your distributions packaging tool. diff --git a/cpp/src/tests/CMakeLists.txt b/cpp/src/tests/CMakeLists.txt index 973421ed61..7a418993d5 100644 --- a/cpp/src/tests/CMakeLists.txt +++ b/cpp/src/tests/CMakeLists.txt @@ -324,6 +324,9 @@ endif (PYTHON_EXECUTABLE) add_test (stop_broker ${shell} ${CMAKE_CURRENT_SOURCE_DIR}/stop_broker${test_script_suffix}) if (PYTHON_EXECUTABLE) add_test (ha_tests ${test_wrap} ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/ha_tests.py) + if (BUILD_LEGACYSTORE) + add_test (ha_store_tests ${test_wrap} ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/ha_store_tests.py) + endif (BUILD_LEGACYSTORE) add_test (ipv6_test ${shell} ${CMAKE_CURRENT_SOURCE_DIR}/ipv6_test${test_script_suffix}) add_test (federation_tests ${shell} ${CMAKE_CURRENT_SOURCE_DIR}/run_federation_tests${test_script_suffix}) add_test (federation_sys_tests ${shell} ${CMAKE_CURRENT_SOURCE_DIR}/run_federation_sys_tests${test_script_suffix}) diff --git a/cpp/src/tests/ha_store_tests.py b/cpp/src/tests/ha_store_tests.py index d1eaca1b87..16bf6e2964 100755 --- a/cpp/src/tests/ha_store_tests.py +++ b/cpp/src/tests/ha_store_tests.py @@ -20,9 +20,7 @@ """ This module contains tests for HA functionality that requires a store. -It is not included as part of "make check" since it will not function -without a store. Currently it can be run from a build of the message -store. +It will only be run if the STORE_LIB environment variable is defined. """ import os, signal, sys, time, imp, re, subprocess, glob, random, logging, shutil, math, unittest, random diff --git a/cpp/src/tests/test_env.sh.in b/cpp/src/tests/test_env.sh.in index 76e88283ed..0f8f834731 100644 --- a/cpp/src/tests/test_env.sh.in +++ b/cpp/src/tests/test_env.sh.in @@ -67,6 +67,7 @@ exportmodule SSLCONNECTOR_LIB sslconnector.so exportmodule SSL_LIB ssl.so exportmodule WATCHDOG_LIB watchdog.so exportmodule XML_LIB xml.so +exportmodule STORE_LIB legacystore.so # Qpid options export QPID_NO_MODULE_DIR=1 # Don't accidentally load installed modules |
