unit-test: Add gpioplus
Needed for using gpioplus with openbmc daemons.
Change-Id: I1a20281600b6a45963e12c24dd362b42d1a85dcc
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/build-unit-test-docker.sh b/build-unit-test-docker.sh
index 6b644f2..9123b88 100755
--- a/build-unit-test-docker.sh
+++ b/build-unit-test-docker.sh
@@ -36,6 +36,7 @@
phosphor-objmgr
sdbusplus
sdeventplus
+ gpioplus
phosphor-logging
phosphor-dbus-interfaces
openpower-dbus-interfaces
@@ -166,6 +167,13 @@
make -j$(nproc) && \
make install
+RUN git clone https://github.com/openbmc/gpioplus && \
+cd gpioplus && \
+./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 0e613ca..12537f9 100755
--- a/scripts/unit-test.py
+++ b/scripts/unit-test.py
@@ -465,6 +465,7 @@
'host-ipmid': 'phosphor-host-ipmid',
'sdbusplus': 'sdbusplus',
'sdeventplus': 'sdeventplus',
+ 'gpioplus': 'gpioplus',
'phosphor-logging/log.hpp': 'phosphor-logging',
},
'AC_PATH_PROG': {'sdbus++': 'sdbusplus'},
@@ -474,6 +475,7 @@
'ibm-dbus-interfaces': 'ibm-dbus-interfaces',
'sdbusplus': 'sdbusplus',
'sdeventplus': 'sdeventplus',
+ 'gpioplus': 'gpioplus',
'phosphor-logging': 'phosphor-logging',
'phosphor-snmp': 'phosphor-snmp',
},