[asterisk-scf-commits] asterisk-scf/integration/servicediscovery.git branch "no_c++11" created.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Fri Nov 18 18:33:58 CST 2011
branch "no_c++11" has been created
at ab9d4f87e45aa2be904c6bf6eceb6713c14b211c (commit)
- Log -----------------------------------------------------------------
commit ab9d4f87e45aa2be904c6bf6eceb6713c14b211c
Author: Ken Hunt <ken.hunt at digium.com>
Date: Fri Nov 18 18:32:29 2011 -0600
- You can't call BOOST_CHECK_EQUAL until test framework is initialized as of Boost 1.47.
- The arg count was incorrect. Caused crash with Boost 1.47
diff --git a/test/TestServiceLocator.cpp b/test/TestServiceLocator.cpp
index ccf4122..862ca61 100644
--- a/test/TestServiceLocator.cpp
+++ b/test/TestServiceLocator.cpp
@@ -212,7 +212,6 @@ struct GlobalIceFixture
cerr << msg << endl;
status = 1;
}
- BOOST_CHECK_EQUAL(0, status);
} // end Fixture() constructor
~GlobalIceFixture()
@@ -746,6 +745,8 @@ void ServiceLocatorTest::start(std::string const& name,
{
std::vector<char const *> argv;
argv.push_back(name.c_str());
+ mCachedArgs.argc++;
+
for (Ice::StringSeq::const_iterator i = args.begin(); i != args.end(); ++i)
{
argv.push_back(i->c_str());
-----------------------------------------------------------------------
--
asterisk-scf/integration/servicediscovery.git
More information about the asterisk-scf-commits
mailing list