summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-08-15 17:43:22 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-08-15 17:43:22 +0000
commita9215b57b0ff06d94ee228e33577432882fe5e8f (patch)
tree6fd8cacededb3db5cdabd43f266c6e5d9bb0050f /x11-libs/xbae
parentunmask =udev-188 for bug #431534 (diff)
downloadgentoo-2-a9215b57b0ff06d94ee228e33577432882fe5e8f.tar.gz
gentoo-2-a9215b57b0ff06d94ee228e33577432882fe5e8f.tar.bz2
gentoo-2-a9215b57b0ff06d94ee228e33577432882fe5e8f.zip
Running tests in proper directory (bug #431536) and actually restricting them because they are interactive and need X display
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/xbae')
-rw-r--r--x11-libs/xbae/ChangeLog7
-rw-r--r--x11-libs/xbae/xbae-4.60.4.ebuild12
2 files changed, 13 insertions, 6 deletions
diff --git a/x11-libs/xbae/ChangeLog b/x11-libs/xbae/ChangeLog
index 661138b9ab72..8bbe297f41f2 100644
--- a/x11-libs/xbae/ChangeLog
+++ b/x11-libs/xbae/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/xbae
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/xbae/ChangeLog,v 1.17 2012/05/25 14:24:27 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/xbae/ChangeLog,v 1.18 2012/08/15 17:43:22 bicatali Exp $
+
+ 15 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> xbae-4.60.4.ebuild:
+ Running tests in proper directory (bug #431536) and actually restricting them
+ because they are interactive and need X display
25 May 2012; Justin Lecher <jlec@gentoo.org> xbae-4.60.4.ebuild,
metadata.xml:
@@ -58,4 +62,3 @@
+files/xbae-4.60.4-Makefile.in.patch, +files/xbae-4.60.4-lxmp.patch,
+files/xbae-4.60.4-tmpl.patch, +metadata.xml, +xbae-4.60.4.ebuild:
Initial import
-
diff --git a/x11-libs/xbae/xbae-4.60.4.ebuild b/x11-libs/xbae/xbae-4.60.4.ebuild
index 5fa792a08a94..1db015168617 100644
--- a/x11-libs/xbae/xbae-4.60.4.ebuild
+++ b/x11-libs/xbae/xbae-4.60.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/xbae/xbae-4.60.4.ebuild,v 1.16 2012/05/25 14:24:27 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/xbae/xbae-4.60.4.ebuild,v 1.17 2012/08/15 17:43:22 bicatali Exp $
EAPI=4
@@ -26,6 +26,10 @@ RDEPEND="
DEPEND="${RDEPEND}"
+# tests need X display
+# and are interactive so virtualx will not help
+RESTRICT=test
+
PATCHES=(
"${FILESDIR}"/${P}-tmpl.patch
"${FILESDIR}"/${P}-lxmp.patch
@@ -38,9 +42,9 @@ src_configure() {
}
src_test() {
- cd examples
+ cd ${AUTOTOOLS_BUILD_DIR}/examples
emake
- ./testall || die
+ "${S}"/examples/testall
emake clean
}
@@ -54,7 +58,7 @@ src_install() {
if use examples; then
find examples -name '*akefile*' -delete || die
- rm -f examples/{testall,extest} || die
+ rm examples/{testall,extest} || die
insinto /usr/share/doc/${PF}
doins -r examples
fi