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 | 14816555f98f5e70dd8f8102c553c500ae9219ce (patch) | |
| tree | 9d90782d6c9c3cabc2e1b0632dc5ddd24d24e5f1 /qpid/cpp/src/tests/ReplicationTest.cpp | |
| parent | ffad7500891f3fe0e1121fcd3d37038023331cf1 (diff) | |
| download | qpid-python-14816555f98f5e70dd8f8102c553c500ae9219ce.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@770001 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/ReplicationTest.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/ReplicationTest.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qpid/cpp/src/tests/ReplicationTest.cpp b/qpid/cpp/src/tests/ReplicationTest.cpp index 7bd585639d..08f662142f 100644 --- a/qpid/cpp/src/tests/ReplicationTest.cpp +++ b/qpid/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) { |
