summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorRatan Gupta <ratagupt@linux.vnet.ibm.com>2018-11-28 18:40:16 +0530
committerRatan Gupta <ratagupt@linux.vnet.ibm.com>2018-11-30 20:42:02 +0530
commit35297177b81061c3ac6658412c6306556849790a (patch)
tree9a2a63e74cf4cb2930bca7587fef91f855e8aa0e /Makefile.am
parent450b346910a7bcf9abde55d76693539a83bf33f7 (diff)
downloadphosphor-networkd-35297177b81061c3ac6658412c6306556849790a.tar.gz
phosphor-networkd-35297177b81061c3ac6658412c6306556849790a.zip
Re-enable unit test
Unit test were broken after sd bus calls started throwing exception, In this repo we start the systemd-networkd with the use of sd bus calls, which throws exception and it was not handled in the test case. This commit fixes the problem by mocking the network manager which mock the functionality of function which makes the sdbus call. Change-Id: I5b60a2117a661cffa36200415ca611b85dd2fda1 Signed-off-by: Ratan Gupta <ratagupt@linux.vnet.ibm.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index fa3f92b..43f4643 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -99,4 +99,4 @@ xyz/openbmc_project/Network/IP/Create/server.hpp: xyz/openbmc_project/Network/IP
$(SDBUSPLUSPLUS) -r $(srcdir) interface server-header xyz.openbmc_project.Network.IP.Create > $@
sed -i '5i #include \"xyz\/openbmc_project\/Network\/IP\/server.hpp\"' $@
-#SUBDIRS = test
+SUBDIRS = test
OpenPOWER on IntegriCloud