tools/pci: add wrapper for libpciaccess
This allows unit testing code that uses libpciaccess.
Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Change-Id: Iec559c72e0e7b6c2e8737a54bb3e88fe1e0f4fdb
diff --git a/tools/test/Makefile.am b/tools/test/Makefile.am
index 1fe35a0..16c1bb3 100644
--- a/tools/test/Makefile.am
+++ b/tools/test/Makefile.am
@@ -18,6 +18,7 @@
check_PROGRAMS = \
tools_bt_unittest \
tools_lpc_unittest \
+ tools_pci_unittest \
tools_net_unittest \
tools_updater_unittest \
tools_helper_unittest
@@ -30,6 +31,9 @@
tools_lpc_unittest_SOURCES = tools_lpc_unittest.cpp
tools_lpc_unittest_LDADD = $(top_builddir)/tools/libupdater.la
+tools_pci_unittest_SOURCES = tools_pci_unittest.cpp
+tools_pci_unittest_LDADD = $(top_builddir)/tools/libupdater.la
+
tools_net_unittest_SOURCES = tools_net_unittest.cpp
tools_net_unittest_LDADD = $(top_builddir)/tools/libupdater.la