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

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]