summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSaqib Khan <khansa@us.ibm.com>2017-10-22 11:29:07 -0500
committerSaqib Khan <khansa@us.ibm.com>2017-12-05 16:55:30 -0600
commit7f80e0b534b91b3a868f33934d92024427235e89 (patch)
treedf60b8ca6f4f5faf8257c6fa49fe0d1257ff3908 /test
parent5b75651b350476455d3c2b6f948a273b1438a790 (diff)
downloadopenpower-pnor-code-mgmt-7f80e0b534b91b3a868f33934d92024427235e89.tar.gz
openpower-pnor-code-mgmt-7f80e0b534b91b3a868f33934d92024427235e89.zip
PNOR: Fix the delete implementation
- In order to remove the delete object from functional image, the delete interface is moved inside the version class so that both item_updater and image_manager can make use of the same implementation. - To avoid having two delete objects attached to the same HOST version (item_updater and image_manager), we are now deleting the image_manager object once the activation is complete. Partially resolves openbmc/openbmc#2490 Change-Id: Ie515cc01d5f154e6e55b9a3fb71d831730cd46f6 Signed-off-by: Saqib Khan <khansa@us.ibm.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index 4f78144c6..5b30065b2 100755
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -28,4 +28,11 @@ utest_LDFLAGS = \
-lcrypto
utest_SOURCES = utest.cpp
-utest_LDADD = $(top_builddir)/openpower_update_manager-version.o
+utest_LDADD = \
+ $(top_builddir)/openpower_update_manager-activation.o \
+ $(top_builddir)/openpower_update_manager-version.o \
+ $(top_builddir)/openpower_update_manager-serialize.o \
+ $(top_builddir)/openpower_update_manager-watch.o \
+ $(top_builddir)/openpower_update_manager-item_updater.o \
+ $(top_builddir)/org/openbmc/Associations/openpower_update_manager-server.o \
+ -lstdc++fs
OpenPOWER on IntegriCloud