unit-test: Add sdeventplus
Needed for new packages using sdeventplus
Change-Id: I00b0563d4f4d7a5c491f465d507d75b79a5e196a
Signed-off-by: William A. Kennington III <wak@google.com>
diff --git a/build-unit-test-docker.sh b/build-unit-test-docker.sh
index 1032c6d..6b644f2 100755
--- a/build-unit-test-docker.sh
+++ b/build-unit-test-docker.sh
@@ -32,10 +32,16 @@
exit 1
esac
-PKGS="phosphor-objmgr sdbusplus phosphor-logging phosphor-dbus-interfaces"
-PKGS+=" openpower-dbus-interfaces"
+PKGS=(
+ phosphor-objmgr
+ sdbusplus
+ sdeventplus
+ phosphor-logging
+ phosphor-dbus-interfaces
+ openpower-dbus-interfaces
+)
DEPCACHE=
-for package in $PKGS
+for package in "${PKGS[@]}"
do
tip=$(git ls-remote https://github.com/openbmc/${package} |
grep 'refs/heads/master' | awk '{ print $1 }')
@@ -153,6 +159,13 @@
make -j$(nproc) && \
make install
+RUN git clone https://github.com/openbmc/sdeventplus && \
+cd sdeventplus && \
+./bootstrap.sh && \
+./configure --disable-tests --disable-examples && \
+make -j$(nproc) && \
+make install
+
RUN git clone https://github.com/openbmc/phosphor-dbus-interfaces && \
cd phosphor-dbus-interfaces && \
./bootstrap.sh && \