[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [PATCH 2/2] build: let autobuild check module build



Many times, we don't notice a bug in src/libvirt_private.syms
until someone attempts a build with modules enabled.  Having
autobuild.sh stress that can only help.

* autobuild.sh: Add test of --with-driver-modules.  Update mingw
build to skip recent driver additions.
---
 autobuild.sh |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/autobuild.sh b/autobuild.sh
index 54fb273..cbccfa9 100755
--- a/autobuild.sh
+++ b/autobuild.sh
@@ -61,6 +61,14 @@ if [ -f /usr/bin/rpmbuild ]; then
      -ba --clean libvirt.spec
 fi

+# Test build with modules
+make distclean
+../autogen.sh --prefix="$AUTOBUILD_INSTALL_ROOT" \
+  --with-driver-modules \
+  --enable-compile-warnings=error
+make check
+
+# Test mingw cross-compile
 if [ -x /usr/bin/i686-pc-mingw32-gcc ]; then
   make distclean

@@ -83,6 +91,8 @@ if [ -x /usr/bin/i686-pc-mingw32-gcc ]; then
     --without-openvz \
     --without-one \
     --without-phyp \
+    --without-xenapi \
+    --without-libxl \
     --without-netcf \
     --without-audit \
     --without-dtrace \
-- 
1.7.4


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]