Author: shuston
Date: Wed Oct 15 14:48:41 2008
New Revision: 705067
URL: http://svn.apache.org/viewvc?rev=705067&view=rev
Log:
Allow QPID_AUTO_TEST_CASE_EXPECTED_FAILURES to work at Boost 1.35
Modified:
incubator/qpid/trunk/qpid/cpp/src/tests/unit_test.h
Modified: incubator/qpid/trunk/qpid/cpp/src/tests/unit_test.h
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/cpp/src/tests/unit_test.h?rev=705067&r1=705066&r2=705067&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/cpp/src/tests/unit_test.h (original)
+++ incubator/qpid/trunk/qpid/cpp/src/tests/unit_test.h Wed Oct 15 14:48:41 2008
@@ -53,7 +53,7 @@
// Workaround for BOOST_AUTO_TEST_SUITE_EXPECTED_FAILURES
//
-#if (BOOST_VERSION < 103500)
+#if (BOOST_VERSION < 103600)
// Keep the test function for compilation but do not not register it.
// TODO aconway 2008-04-23: better workaround for expected failures.
@@ -76,7 +76,7 @@
#endif
#ifndef QPID_AUTO_TEST_CASE_EXPECTED_FAILURES
-# define QPID_AUTO_TEST_CASE_EXPECTED_FAILURES(name,n)
BOOST_AUTO_TEST_SUITE_EXPECTED_FAILURES(name,n)
+# define QPID_AUTO_TEST_CASE_EXPECTED_FAILURES(name,n)
BOOST_AUTO_TEST_CASE_EXPECTED_FAILURES(name,n)
#endif
#ifndef QPID_AUTO_TEST_SUITE_END