From: Andreas Reichel <[email protected]>

Use libcheck as new unit testing framework.

Signed-off-by: Andreas Reichel <[email protected]>
---
 .travis-build.sh | 4 ++--
 configure.ac     | 3 +++
 docs/COMPILE.md  | 4 ++--
 3 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/.travis-build.sh b/.travis-build.sh
index 470c710..6e534cb 100755
--- a/.travis-build.sh
+++ b/.travis-build.sh
@@ -29,7 +29,7 @@ install_native_deps()
          'deb http://archive.ubuntu.com/ubuntu xenial universe'
     sudo apt-get update -qq
     sudo apt-get install --no-install-recommends \
-         --target-release xenial
+         --target-release xenial check
 }
 
 install_i586_deps()
@@ -40,7 +40,7 @@ install_i586_deps()
          'deb http://archive.ubuntu.com/ubuntu xenial universe'
     sudo apt-get update -qq
     sudo apt-get install --no-install-recommends \
-         --target-release xenial
+         --target-release xenial check:i386
 }
 
 prepare_build()
diff --git a/configure.ac b/configure.ac
index d1dd082..7e8e7e9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -163,6 +163,9 @@ AC_ARG_WITH([mem-uservars],
            ])
 
 AC_DEFINE_UNQUOTED([ENV_MEM_USERVARS], [${ENV_MEM_USERVARS}], [Reserved memory 
for user variables])
+
+PKG_PROG_PKG_CONFIG()
+PKG_CHECK_MODULES(LIBCHECK, check)
 # 
------------------------------------------------------------------------------
 AC_CONFIG_FILES([
        Makefile
diff --git a/docs/COMPILE.md b/docs/COMPILE.md
index 0429d81..e194601 100644
--- a/docs/COMPILE.md
+++ b/docs/COMPILE.md
@@ -5,13 +5,13 @@
 ### Arch Linux ###
 
 ```
-pacman -S gnu-efi-libs pciutils
+pacman -S gnu-efi-libs pciutils check
 ```
 
 ### Debian 8 ###
 
 ```
-apt-get install gnu-efi libpci-dev
+apt-get install gnu-efi libpci-dev check
 ```
 
 ## Compilation ##
-- 
2.14.2

-- 
You received this message because you are subscribed to the Google Groups "EFI 
Boot Guard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/efibootguard-dev/20171024122629.16634-3-andreas.reichel.ext%40siemens.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to