Fix unit tests.

This commit is contained in:
Gunnar Beutner 2013-03-18 11:15:46 +01:00
parent c3975af6ec
commit e6553a7140
3 changed files with 4 additions and 6 deletions

View File

@ -252,7 +252,7 @@ void Timer::AdjustTimers(double adjustment)
timer->m_Next += adjustment;
l_Timers.erase(timer);
l_Timers.insert(timer);
}
}
}
/* Notify the worker that we've rescheduled some timers. */

View File

@ -12,9 +12,7 @@ icinga2_test_SOURCES = \
icinga2_test_CPPFLAGS = \
$(BOOST_CPPFLAGS) \
-I${top_srcdir}/lib/base \
-I${top_srcdir}/lib/icinga \
-I${top_srcdir}
-I${top_srcdir}/lib
icinga2_test_LDADD = \
$(BOOST_LDFLAGS) \

View File

@ -17,9 +17,9 @@
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. *
******************************************************************************/
#include "base/dictionary.h"
#include <boost/test/unit_test.hpp>
#include <i2-base.h>
#include <boost/smart_ptr/make_shared.hpp>
using namespace icinga;