Skip to content

Commit

Permalink
app-emulation/libvirt: fix src_test, bug #576148
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.28
  • Loading branch information
tamiko committed Aug 16, 2016
1 parent 0c29d63 commit df4205f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 23 deletions.
15 changes: 8 additions & 7 deletions app-emulation/libvirt/libvirt-2.0.0-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ fi
DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
IUSE="apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm \
lxc +macvtap nfs nls numa openvz parted pcap phyp pm-utils policykit \
+qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network
wireshark-plugins xen elibc_glibc"
IUSE="
apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm
lxc +macvtap nfs nls numa openvz parted pcap phyp policykit +qemu rbd
sasl selinux +udev uml +vepa virtualbox virt-network wireshark-plugins
xen elibc_glibc
"

REQUIRED_USE="
firewalld? ( virt-network )
Expand Down Expand Up @@ -88,7 +90,6 @@ RDEPEND="
sys-fs/lvm2[-device-mapper-only(-)]
)
pcap? ( >=net-libs/libpcap-1.0.0 )
pm-utils? ( sys-power/pm-utils )
policykit? ( >=sys-auth/polkit-0.9 )
qemu? (
>=app-emulation/qemu-0.13.0
Expand Down Expand Up @@ -269,7 +270,6 @@ src_configure() {
$(use_with parted storage-disk)
$(use_with pcap libpcap)
$(use_with phyp)
$(use_with pm-utils pm-utils)
$(use_with policykit polkit)
$(use_with qemu)
$(use_with qemu yajl)
Expand Down Expand Up @@ -325,7 +325,8 @@ src_configure() {
}

src_test() {
# Explicitly allow parallel build of tests
cd "${BUILD_DIR}"

export VIR_TEST_DEBUG=1
HOME="${T}" emake check || die "tests failed"
}
Expand Down
15 changes: 8 additions & 7 deletions app-emulation/libvirt/libvirt-2.1.0-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ fi
DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
IUSE="apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm \
lxc +macvtap nfs nls numa openvz parted pcap phyp pm-utils policykit \
+qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network
wireshark-plugins xen elibc_glibc"
IUSE="
apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm
lxc +macvtap nfs nls numa openvz parted pcap phyp policykit +qemu rbd
sasl selinux +udev uml +vepa virtualbox virt-network wireshark-plugins
xen elibc_glibc
"

REQUIRED_USE="
firewalld? ( virt-network )
Expand Down Expand Up @@ -88,7 +90,6 @@ RDEPEND="
sys-fs/lvm2[-device-mapper-only(-)]
)
pcap? ( >=net-libs/libpcap-1.0.0 )
pm-utils? ( sys-power/pm-utils )
policykit? ( >=sys-auth/polkit-0.9 )
qemu? (
>=app-emulation/qemu-0.13.0
Expand Down Expand Up @@ -269,7 +270,6 @@ src_configure() {
$(use_with parted storage-disk)
$(use_with pcap libpcap)
$(use_with phyp)
$(use_with pm-utils pm-utils)
$(use_with policykit polkit)
$(use_with qemu)
$(use_with qemu yajl)
Expand Down Expand Up @@ -325,7 +325,8 @@ src_configure() {
}

src_test() {
# Explicitly allow parallel build of tests
cd "${BUILD_DIR}"

export VIR_TEST_DEBUG=1
HOME="${T}" emake check || die "tests failed"
}
Expand Down
15 changes: 8 additions & 7 deletions app-emulation/libvirt/libvirt-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@ fi
DESCRIPTION="C toolkit to manipulate virtual machines"
HOMEPAGE="http://www.libvirt.org/"
LICENSE="LGPL-2.1"
IUSE="apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm \
lxc +macvtap nfs nls numa openvz parted pcap phyp pm-utils policykit \
+qemu rbd sasl selinux +udev uml +vepa virtualbox virt-network
wireshark-plugins xen elibc_glibc"
IUSE="
apparmor audit avahi +caps firewalld fuse glusterfs iscsi +libvirtd lvm
lxc +macvtap nfs nls numa openvz parted pcap phyp policykit +qemu rbd
sasl selinux +udev uml +vepa virtualbox virt-network wireshark-plugins
xen elibc_glibc
"

REQUIRED_USE="
firewalld? ( virt-network )
Expand Down Expand Up @@ -88,7 +90,6 @@ RDEPEND="
sys-fs/lvm2[-device-mapper-only(-)]
)
pcap? ( >=net-libs/libpcap-1.0.0 )
pm-utils? ( sys-power/pm-utils )
policykit? ( >=sys-auth/polkit-0.9 )
qemu? (
>=app-emulation/qemu-0.13.0
Expand Down Expand Up @@ -269,7 +270,6 @@ src_configure() {
$(use_with parted storage-disk)
$(use_with pcap libpcap)
$(use_with phyp)
$(use_with pm-utils pm-utils)
$(use_with policykit polkit)
$(use_with qemu)
$(use_with qemu yajl)
Expand Down Expand Up @@ -321,7 +321,8 @@ src_configure() {
}

src_test() {
# Explicitly allow parallel build of tests
cd "${BUILD_DIR}"

export VIR_TEST_DEBUG=1
HOME="${T}" emake check || die "tests failed"
}
Expand Down
2 changes: 0 additions & 2 deletions app-emulation/libvirt/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@
macvtap support requires very new kernels and is
currently evolving. Support for this is experimental at best.
</flag>
<flag name="pm-utils">Use sys-power/pm-utils for power management.
</flag>
<flag name="vepa">Virtual Ethernet Port Aggregator (VEPA) / 802.1Qbg
support. Relies on macvtap support.</flag>
<flag name="virt-network">
Expand Down

0 comments on commit df4205f

Please sign in to comment.