summaryrefslogtreecommitdiff
path: root/cpp/src/tests/run_failover_soak
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-11-30 19:34:36 +0000
committerAlan Conway <aconway@apache.org>2009-11-30 19:34:36 +0000
commit7a70ee7193a85ceb52cbfe3df2684e947cee9456 (patch)
tree3f8c78519d4169bc7c0ec8015a684879527a5350 /cpp/src/tests/run_failover_soak
parentd3e2aeef6229259be003071988706c934677ff43 (diff)
downloadqpid-python-7a70ee7193a85ceb52cbfe3df2684e947cee9456.tar.gz
Clean up test environment variables, prepare for running more tests in cmake.
- consolidate test env vars in test_env.sh, also useful from command line. - generate test_env.sh with autoconf/cmake to cover library location differences. - Remove explicit mention of .libs, use $QPID_MODULE_DIR to load modules. - Fix run_test to run valgrind under cmake git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@885557 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/run_failover_soak')
-rwxr-xr-xcpp/src/tests/run_failover_soak5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/tests/run_failover_soak b/cpp/src/tests/run_failover_soak
index 082cd75449..9c53e6162c 100755
--- a/cpp/src/tests/run_failover_soak
+++ b/cpp/src/tests/run_failover_soak
@@ -19,11 +19,12 @@
# under the License.
#
-. `dirname $0`/ais_check
+source ./test_env.sh
+. $srcdir/ais_check
host=127.0.0.1
-MODULES=${MODULES:-../.libs}
+MODULES=${MODULES:-$QPID_MODULE_DIR}
MESSAGES=${MESSAGES:-1000000}
REPORT_FREQUENCY=${REPORT_FREQUENCY:-20000}
VERBOSITY=${VERBOSITY:-10}