diff options
author | Stephen D. Huston <shuston@apache.org> | 2009-04-29 23:34:33 +0000 |
---|---|---|
committer | Stephen D. Huston <shuston@apache.org> | 2009-04-29 23:34:33 +0000 |
commit | 5691a07fa7465a4f6827bd842cd3d16e7af2fc18 (patch) | |
tree | 1d2b4c4fb8b445b1e5a46b4b57729d4db37aba5c /cpp/src/tests/ReplicationTest.cpp | |
parent | 075ae6414416a49fed6dcc3708fdb9e632e4fd4c (diff) | |
download | qpid-python-5691a07fa7465a4f6827bd842cd3d16e7af2fc18.tar.gz |
Pass platform's shared lib prefix, suffix to test progs that need it; use it to pick up proper file for libtool/cmake/Windows
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@770001 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/ReplicationTest.cpp')
-rw-r--r-- | cpp/src/tests/ReplicationTest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/tests/ReplicationTest.cpp b/cpp/src/tests/ReplicationTest.cpp index 7bd585639d..08f662142f 100644 --- a/cpp/src/tests/ReplicationTest.cpp +++ b/cpp/src/tests/ReplicationTest.cpp @@ -44,7 +44,13 @@ using boost::assign::list_of; QPID_AUTO_TEST_SUITE(ReplicationTestSuite) +// The CMake-based build passes in the module suffix; if it's not there, this +// is a Linux/UNIX libtool-based build. +#if defined (QPID_MODULE_SUFFIX) +qpid::sys::Shlib plugin("../replicating_listener" QPID_MODULE_SUFFIX); +#else qpid::sys::Shlib plugin("../.libs/replicating_listener.so"); +#endif qpid::broker::Broker::Options getBrokerOpts(const std::vector<std::string>& args) { |