From 7a70ee7193a85ceb52cbfe3df2684e947cee9456 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 30 Nov 2009 19:34:36 +0000 Subject: 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 --- cpp/src/tests/ClusterFailover.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/tests/ClusterFailover.cpp') diff --git a/cpp/src/tests/ClusterFailover.cpp b/cpp/src/tests/ClusterFailover.cpp index f7d05d516b..6b1ef99807 100644 --- a/cpp/src/tests/ClusterFailover.cpp +++ b/cpp/src/tests/ClusterFailover.cpp @@ -54,7 +54,7 @@ const sys::Duration TIMEOUT=sys::TIME_SEC/4; // Test re-connecting with same session name after a failure. QPID_AUTO_TEST_CASE(testReconnectSameSessionName) { ostringstream clusterLib; - clusterLib << getLibPath("CLUSTER_LIB", "../.libs/cluster.so"); + clusterLib << getLibPath("CLUSTER_LIB"); ClusterFixture::Args args = list_of("--auth")("no")("--no-module-dir")("--no-data-dir")("--load-module")(clusterLib.str()); ClusterFixture cluster(2, args, -1); Client c0(cluster[0], "foo"); -- cgit v1.2.1