Removed obsolete debug code.

This commit is contained in:
Gunnar Beutner 2013-04-19 13:09:24 +02:00
parent fcdb690b48
commit 4fa9685a18
2 changed files with 1 additions and 4 deletions

View File

@ -64,7 +64,7 @@ dist-hook: icinga-version.stamp
"icinga-version.h" > "$(distdir)/icinga-version.h"; \ "icinga-version.h" > "$(distdir)/icinga-version.h"; \
fi fi
check-coverage: check-coverage: all
lcov -d . -z lcov -d . -z
make check make check
lcov -d . -c -o icinga2.info lcov -d . -c -o icinga2.info

View File

@ -23,7 +23,6 @@
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>
#include <boost/smart_ptr/make_shared.hpp> #include <boost/smart_ptr/make_shared.hpp>
#include <boost/foreach.hpp> #include <boost/foreach.hpp>
#include <iostream>
using namespace icinga; using namespace icinga;
@ -72,7 +71,6 @@ BOOST_AUTO_TEST_CASE(invoke)
Utility::Sleep(5.5); Utility::Sleep(5.5);
timer->Stop(); timer->Stop();
std::cout << counter << std::endl;
BOOST_CHECK(counter >= 4 && counter <= 6); BOOST_CHECK(counter >= 4 && counter <= 6);
} }
@ -89,7 +87,6 @@ BOOST_AUTO_TEST_CASE(scope)
timer.reset(); timer.reset();
Utility::Sleep(5.5); Utility::Sleep(5.5);
std::cout << counter << std::endl;
BOOST_CHECK(counter >= 4 && counter <= 6); BOOST_CHECK(counter >= 4 && counter <= 6);
} }