On 04/07/2017 11:39 AM, Daniel P. Berrange wrote:
Since we already sync our repo to github, we can easily take
advantage of
the free Travis CI system to improve our testing coverage. Our current CentOS
CI hardware doesn't have scope for running many more VMs than it already does
and even if it did, that imposes an administrative burden to manage the OS.
So this uses Travis to get us automated testing of Ubuntu Precise & Trusty,
with GCC and CLang, and OS-X with CLang.
Daniel P. Berrange (5):
annotate all mocked functions with noinline
Prevent test failures with ebtables/iptables/ip6tables are missing
Fix detection of required RBD version
Ignore SASL deprecation warnings on OS-X
Add travis build configuration
.travis.yml | 85 ++++++++++++++++++++++++++++++++++++++++
build-aux/mock-noinline.pl | 72 ++++++++++++++++++++++++++++++++++
cfg.mk | 6 ++-
m4/virt-storage-rbd.m4 | 16 +++++++-
src/internal.h | 22 +++++++++++
src/qemu/qemu_capspriv.h | 2 +-
src/rpc/virnetsaslcontext.c | 12 ++++++
src/rpc/virnetsocket.h | 6 ++-
src/util/vircommand.h | 2 +-
src/util/vircrypto.h | 2 +-
src/util/virfile.h | 2 +-
src/util/virhostcpu.h | 4 +-
src/util/virmacaddr.h | 2 +-
src/util/virnetdev.h | 9 +++--
src/util/virnetdevip.h | 2 +-
src/util/virnetdevopenvswitch.h | 2 +-
src/util/virnetdevtap.h | 6 +--
src/util/virnuma.h | 16 ++++----
src/util/virrandom.h | 6 +--
src/util/virscsi.h | 2 +-
src/util/virscsivhost.h | 2 +-
src/util/virtpm.h | 2 +-
src/util/virutil.h | 10 ++---
src/util/viruuid.h | 2 +-
tests/networkxml2firewalltest.c | 13 ++++++
tests/nwfilterebiptablestest.c | 13 ++++++
tests/nwfilterxml2firewalltest.c | 12 ++++++
tests/virfirewalltest.c | 13 ++++++
28 files changed, 302 insertions(+), 41 deletions(-)
create mode 100644 .travis.yml
create mode 100644 build-aux/mock-noinline.pl
ACK series.
Thanks,
Yash