summaryrefslogtreecommitdiffstats
path: root/test/test.cpp
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2017-02-03 11:00:27 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-02-09 20:36:50 -0500
commita6fcd567f6aa01746471fd639db63fecadbf166b (patch)
treebcdc273c61aa32335b6733cc0e560ae3ec69e429 /test/test.cpp
parent2a9f934aae45b7d4fab93ccbd761d39600bdf385 (diff)
downloadphosphor-inventory-manager-a6fcd567f6aa01746471fd639db63fecadbf166b.tar.gz
phosphor-inventory-manager-a6fcd567f6aa01746471fd639db63fecadbf166b.zip
build: split app/test pimgen invocation
Run pimgen twice, once for the application with the real YAML and once for the testcase with the example YAML so that the testcase can run and build sucessfully when an alternate YAML tree is provided. Move extra interface rule generation from pimgen to a makefile generating script. Change-Id: Ib0c01bd2207007b815019232a466fa16889f2005 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'test/test.cpp')
-rw-r--r--test/test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test.cpp b/test/test.cpp
index 3f39fa9..6ffad51 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -13,15 +13,15 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-#include "../manager.hpp"
-#include "../config.h"
+#include "manager.hpp"
+#include "config.h"
#include <cassert>
#include <iostream>
#include <algorithm>
#include <thread>
#include <chrono>
-#include <xyz/openbmc_project/Example/Iface1/server.hpp>
-#include <xyz/openbmc_project/Example/Iface2/server.hpp>
+#include "xyz/openbmc_project/Example/Iface1/server.hpp"
+#include "xyz/openbmc_project/Example/Iface2/server.hpp"
using namespace std::literals::chrono_literals;
using namespace std::literals::string_literals;
OpenPOWER on IntegriCloud