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 && \
diff --git a/scripts/unit-test.py b/scripts/unit-test.py
index 2785d8c..0e613ca 100755
--- a/scripts/unit-test.py
+++ b/scripts/unit-test.py
@@ -464,6 +464,7 @@
         'AC_CHECK_HEADER': {
             'host-ipmid': 'phosphor-host-ipmid',
             'sdbusplus': 'sdbusplus',
+            'sdeventplus': 'sdeventplus',
             'phosphor-logging/log.hpp': 'phosphor-logging',
         },
         'AC_PATH_PROG': {'sdbus++': 'sdbusplus'},
@@ -472,6 +473,7 @@
             'openpower-dbus-interfaces': 'openpower-dbus-interfaces',
             'ibm-dbus-interfaces': 'ibm-dbus-interfaces',
             'sdbusplus': 'sdbusplus',
+            'sdeventplus': 'sdeventplus',
             'phosphor-logging': 'phosphor-logging',
             'phosphor-snmp': 'phosphor-snmp',
         },