]> granicus.if.org Git - icinga2/commitdiff
Removed obsolete debug code.
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 19 Apr 2013 11:09:24 +0000 (13:09 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 19 Apr 2013 11:09:24 +0000 (13:09 +0200)
Makefile.am
test/base-timer.cpp

index f607814a9b75d3cfa78cb6c5c8ba41592679ee5b..bbb11c2bc3e7225f0b768716c4a9b6694f6f0283 100644 (file)
@@ -64,7 +64,7 @@ dist-hook: icinga-version.stamp
                        "icinga-version.h" > "$(distdir)/icinga-version.h"; \
        fi
 
-check-coverage:
+check-coverage: all
        lcov -d . -z
        make check
        lcov -d . -c -o icinga2.info
index b7431e3e9c237465f4ff79080cd63fed3bb21128..732407c69e634104c6484380c9553cfdc470ffba 100644 (file)
@@ -23,7 +23,6 @@
 #include <boost/test/unit_test.hpp>
 #include <boost/smart_ptr/make_shared.hpp>
 #include <boost/foreach.hpp>
-#include <iostream>
 
 using namespace icinga;
 
@@ -72,7 +71,6 @@ BOOST_AUTO_TEST_CASE(invoke)
        Utility::Sleep(5.5);
        timer->Stop();
 
-       std::cout << counter << std::endl;
        BOOST_CHECK(counter >= 4 && counter <= 6);
 }
 
@@ -89,7 +87,6 @@ BOOST_AUTO_TEST_CASE(scope)
        timer.reset();
        Utility::Sleep(5.5);
 
-       std::cout << counter << std::endl;
        BOOST_CHECK(counter >= 4 && counter <= 6);
 }