summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Venture <venture@google.com>2019-01-07 13:27:01 -0800
committerRatan Gupta <ratagupt@linux.vnet.ibm.com>2019-02-18 17:17:08 +0000
commita973340f372608960aa1d91789232d6c998bf500 (patch)
treebdc4fdcca02e71a2690f5f98990dc3b2962de688
parent8fe594cfcb0c73084739bce996210dc222bb5758 (diff)
downloadphosphor-networkd-a973340f372608960aa1d91789232d6c998bf500.tar.gz
phosphor-networkd-a973340f372608960aa1d91789232d6c998bf500.zip
test: use system-first search for dbus interfaces
Use system-first search for inclusion of dbus interface headers. Change-Id: I9953ca047c09c1003c86b1ffaf929698c157139c Signed-off-by: Patrick Venture <venture@google.com>
-rw-r--r--test/test_config_parser.cpp2
-rw-r--r--test/test_network_manager.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_config_parser.cpp b/test/test_config_parser.cpp
index 99effad..61432c2 100644
--- a/test/test_config_parser.cpp
+++ b/test/test_config_parser.cpp
@@ -1,12 +1,12 @@
#include "config.h"
#include "config_parser.hpp"
-#include "xyz/openbmc_project/Common/error.hpp"
#include <exception>
#include <fstream>
#include <phosphor-logging/elog-errors.hpp>
#include <stdexcept>
+#include <xyz/openbmc_project/Common/error.hpp>
#include <gtest/gtest.h>
diff --git a/test/test_network_manager.cpp b/test/test_network_manager.cpp
index 093a4a9..ff0840e 100644
--- a/test/test_network_manager.cpp
+++ b/test/test_network_manager.cpp
@@ -1,6 +1,5 @@
#include "mock_network_manager.hpp"
#include "mock_syscall.hpp"
-#include "xyz/openbmc_project/Common/error.hpp"
#include <arpa/inet.h>
#include <net/if.h>
@@ -10,6 +9,7 @@
#include <exception>
#include <experimental/filesystem>
#include <sdbusplus/bus.hpp>
+#include <xyz/openbmc_project/Common/error.hpp>
#include <gtest/gtest.h>
OpenPOWER on IntegriCloud