qemu/tests/docker/test-full
Paolo Bonzini 6283847857 docker: add installation to build tests
Basic test that "make install" works; this requires msgfmt so add
gettext to the packages.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1506095371-23160-1-git-send-email-pbonzini@redhat.com>
[Rebase to master. - Fam]
Signed-off-by: Fam Zheng <famz@redhat.com>
2017-09-29 11:14:14 +08:00

90 lines
2.0 KiB
Bash
Executable File

#!/bin/bash
#
# Compile all the targets with as many features enabled as possible
#
# Copyright 2016, 2017 Red Hat Inc.
#
# Authors:
# Fam Zheng <famz@redhat.com>
#
# This work is licensed under the terms of the GNU GPL, version 2
# or (at your option) any later version. See the COPYING file in
# the top-level directory.
. common.rc
cd "$BUILD_DIR" || exit 1
build_qemu \
--enable-attr \
--enable-bluez \
--enable-brlapi \
--enable-bsd-user \
--enable-bzip2 \
--enable-cap-ng \
--enable-coroutine-pool \
--enable-crypto-afalg \
--enable-curl \
--enable-curses \
--enable-debug \
--enable-debug-info \
--enable-debug-tcg \
--enable-docs \
--enable-fdt \
--enable-gcrypt \
--enable-glusterfs \
--enable-gnutls \
--enable-gprof \
--enable-gtk \
--enable-guest-agent \
--enable-jemalloc \
--enable-kvm \
--enable-libiscsi \
--enable-libnfs \
--enable-libssh2 \
--enable-libusb \
--enable-linux-aio \
--enable-linux-user \
--enable-live-block-migration \
--enable-lzo \
--enable-modules \
--enable-numa \
--enable-opengl \
--enable-pie \
--enable-profiler \
--enable-qom-cast-debug \
--enable-rbd \
--enable-rdma \
--enable-replication \
--enable-sdl \
--enable-seccomp \
--enable-smartcard \
--enable-snappy \
--enable-spice \
--enable-stack-protector \
--enable-system \
--enable-tcg \
--enable-tcg-interpreter \
--enable-tools \
--enable-tpm \
--enable-trace-backend=ftrace \
--enable-usb-redir \
--enable-user \
--enable-vde \
--enable-vhost-net \
--enable-vhost-scsi \
--enable-vhost-user \
--enable-vhost-vsock \
--enable-virtfs \
--enable-vnc \
--enable-vnc-jpeg \
--enable-vnc-png \
--enable-vnc-sasl \
--enable-vte \
--enable-werror \
--enable-xen \
--enable-xen-pci-passthrough \
--enable-xen-pv-domain-build \
--enable-xfsctl \
&& make check $MAKEFLAGS && install_qemu