summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2016-12-19 13:47:10 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-01-13 15:56:37 -0500
commitb9e2b07eeb324f3cc8cf037986e5a43a09464419 (patch)
treecd05064837298fd2a8fdc61a52b09e901bf75649 /test
parent6ae03303d54bad62a749f3a01c30d19230f55194 (diff)
downloadphosphor-hwmon-b9e2b07eeb324f3cc8cf037986e5a43a09464419.tar.gz
phosphor-hwmon-b9e2b07eeb324f3cc8cf037986e5a43a09464419.zip
Add config options
Obtain the DBus service name prefix and sensors namespace root path from the configure script. Change-Id: I5c48882b62b09a466b3b7b30b3935d65ccc58326 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'test')
-rw-r--r--test/test.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test.cpp b/test/test.cpp
index cf2fb37..df9ed22 100644
--- a/test/test.cpp
+++ b/test/test.cpp
@@ -43,7 +43,9 @@ int main()
std::ofstream f{entry};
f << "1234";
- auto loop = MainLoop(dir);
+ auto loop = MainLoop(
+ dir,
+ "xyz.openbmc_project.Testing", "/testing");
auto t = std::thread(server_thread, &loop);
runTests(loop);
OpenPOWER on IntegriCloud