mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-25 22:54:57 +02:00
Removed obsolete debug code.
This commit is contained in:
parent
fcdb690b48
commit
4fa9685a18
@ -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
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user