Commit 3ff79076 authored by Kean Johnston's avatar Kean Johnston
Browse files

[3267] Use local #include directives

Some files were using #include <full/path/to/header> syntax which is
not desirable as the directory may move about in the source tree, and
all of the files it was including are local to perfdhcp so they should
be using #include "filename.h".
parent 0e2851da
......@@ -13,7 +13,7 @@
// PERFORMANCE OF THIS SOFTWARE.
#include <exceptions/exceptions.h>
#include <tests/tools/perfdhcp/rate_control.h>
#include "rate_control.h"
namespace isc {
namespace perfdhcp {
......
......@@ -15,9 +15,9 @@
#ifndef TEST_CONTROL_H
#define TEST_CONTROL_H
#include <tests/tools/perfdhcp/packet_storage.h>
#include <tests/tools/perfdhcp/rate_control.h>
#include <tests/tools/perfdhcp/stats_mgr.h>
#include "packet_storage.h"
#include "rate_control.h"
#include "stats_mgr.h"
#include <dhcp/iface_mgr.h>
#include <dhcp/dhcp6.h>
......
......@@ -2,6 +2,7 @@ SUBDIRS = . testdata
AM_CPPFLAGS = -I$(top_builddir)/src/lib -I$(top_srcdir)/src/lib
AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir)
AM_CPPFLAGS += -I$(srcdir)/.. -I$(builddir)/..
AM_CPPFLAGS += -DTEST_DATA_DIR=\"$(abs_srcdir)/testdata\"
AM_CPPFLAGS += $(BOOST_INCLUDES)
AM_CXXFLAGS = $(B10_CXXFLAGS)
......
......@@ -13,7 +13,7 @@
// PERFORMANCE OF THIS SOFTWARE.
#include <exceptions/exceptions.h>
#include <tests/tools/perfdhcp/rate_control.h>
#include "rate_control.h"
#include <gtest/gtest.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment