commit | a439ca295d2b9a13a0fce1a3d12ab09174aae0cf | [log] [tgz] |
---|---|---|
author | Nan Zhou <nanzhoumails@gmail.com> | Tue Jun 21 17:47:05 2022 +0000 |
committer | Nan Zhou <nanzhoumails@gmail.com> | Fri Jun 24 21:35:56 2022 +0000 |
tree | 7f922915d75e310524a30982f7192e725703099a | |
parent | fdd26906ef8884977df85c915444206c8a183639 [diff] |
openbmc_dbus_rest_test: fix headers The "include/" directory is already in the search path specified by -I, so remove the prefix from the header. Use <> for dependency headers and "" for bmcweb headers. Reference: https://gcc.gnu.org/onlinedocs/cpp/Search-Path.html Tested: unit test passes. Signed-off-by: Nan Zhou <nanzhoumails@gmail.com> Change-Id: Id0d95d927bb390dba311d9e4f4da3eef4e566ed7
diff --git a/include/ut/openbmc_dbus_rest_test.cpp b/include/ut/openbmc_dbus_rest_test.cpp index ea99a1b..7efd10d 100644 --- a/include/ut/openbmc_dbus_rest_test.cpp +++ b/include/ut/openbmc_dbus_rest_test.cpp
@@ -1,7 +1,7 @@ -#include "include/openbmc_dbus_rest.hpp" +#include "openbmc_dbus_rest.hpp" -#include "gmock/gmock.h" -#include "gtest/gtest.h" +#include <gmock/gmock.h> +#include <gtest/gtest.h> namespace crow::openbmc_mapper {