diff options
author | Andrew Stitcher <astitcher@apache.org> | 2013-07-25 20:25:14 +0000 |
---|---|---|
committer | Andrew Stitcher <astitcher@apache.org> | 2013-07-25 20:25:14 +0000 |
commit | 25f9ff86c702792a492697b03fa3c4190fa12903 (patch) | |
tree | f0f4edbe4a5dd29a6e191713872b6a8bd3e28dd4 /qpid/cpp/src/tests/Shlib.cpp | |
parent | d73ba2c389413b64aba0ef6893c98c89120622ce (diff) | |
download | qpid-python-25f9ff86c702792a492697b03fa3c4190fa12903.tar.gz |
QPID-4640: QPID-3633: Remove autotools build from qpid C++ source tree
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1507112 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/Shlib.cpp')
-rw-r--r-- | qpid/cpp/src/tests/Shlib.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/qpid/cpp/src/tests/Shlib.cpp b/qpid/cpp/src/tests/Shlib.cpp index d8ad4c14d8..7f01323e3c 100644 --- a/qpid/cpp/src/tests/Shlib.cpp +++ b/qpid/cpp/src/tests/Shlib.cpp @@ -35,13 +35,7 @@ typedef void (*CallMe)(int*); QPID_AUTO_TEST_CASE(testShlib) { - // The CMake-based build passes in the shared lib suffix; if it's not - // there, this is a Linux/UNIX libtool-based build. -#if defined (QPID_SHLIB_PREFIX) && defined (QPID_SHLIB_SUFFIX) Shlib sh("./" QPID_SHLIB_PREFIX "shlibtest" QPID_SHLIB_POSTFIX QPID_SHLIB_SUFFIX); -#else - Shlib sh(".libs/libshlibtest.so"); -#endif // Double cast to avoid ISO warning. CallMe callMe=sh.getSymbol<CallMe>("callMe"); BOOST_REQUIRE(callMe != 0); @@ -59,11 +53,7 @@ QPID_AUTO_TEST_CASE(testShlib) { QPID_AUTO_TEST_CASE(testAutoShlib) { int unloaded = 0; { -#if defined (QPID_SHLIB_PREFIX) && defined (QPID_SHLIB_SUFFIX) AutoShlib sh("./" QPID_SHLIB_PREFIX "shlibtest" QPID_SHLIB_POSTFIX QPID_SHLIB_SUFFIX); -#else - AutoShlib sh(".libs/libshlibtest.so"); -#endif CallMe callMe=sh.getSymbol<CallMe>("callMe"); BOOST_REQUIRE(callMe != 0); callMe(&unloaded); |