summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Cakebread <pythonhead@gentoo.org>2007-04-21 17:32:13 +0000
committerRob Cakebread <pythonhead@gentoo.org>2007-04-21 17:32:13 +0000
commita43b7e0240a73b87188d9d9ee7542664b6b84384 (patch)
treedbda9a64c771b53f723b01d53e65635f014ee155 /dev-python/python-xlib
parentx86 stable wrt bug 141683 (diff)
downloadgentoo-2-a43b7e0240a73b87188d9d9ee7542664b6b84384.tar.gz
gentoo-2-a43b7e0240a73b87188d9d9ee7542664b6b84384.tar.bz2
gentoo-2-a43b7e0240a73b87188d9d9ee7542664b6b84384.zip
Added src_test
(Portage version: 2.1.2.4)
Diffstat (limited to 'dev-python/python-xlib')
-rw-r--r--dev-python/python-xlib/ChangeLog6
-rw-r--r--dev-python/python-xlib/python-xlib-0.12-r3.ebuild8
2 files changed, 12 insertions, 2 deletions
diff --git a/dev-python/python-xlib/ChangeLog b/dev-python/python-xlib/ChangeLog
index dd04dbebe388..ff25949976e8 100644
--- a/dev-python/python-xlib/ChangeLog
+++ b/dev-python/python-xlib/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/python-xlib
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v 1.15 2007/04/21 17:09:37 pythonhead Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/ChangeLog,v 1.16 2007/04/21 17:32:13 pythonhead Exp $
+
+ 21 Apr 2007; Rob Cakebread <pythonhead@gentoo.org>
+ python-xlib-0.12-r3.ebuild:
+ Added src_test
*python-xlib-0.13 (21 Apr 2007)
diff --git a/dev-python/python-xlib/python-xlib-0.12-r3.ebuild b/dev-python/python-xlib/python-xlib-0.12-r3.ebuild
index 6af0c7a0e136..6b2e3445f69f 100644
--- a/dev-python/python-xlib/python-xlib-0.12-r3.ebuild
+++ b/dev-python/python-xlib/python-xlib-0.12-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/python-xlib-0.12-r3.ebuild,v 1.1 2007/01/12 21:56:35 lucass Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-xlib/python-xlib-0.12-r3.ebuild,v 1.2 2007/04/21 17:32:13 pythonhead Exp $
inherit distutils eutils
@@ -27,3 +27,9 @@ src_install () {
dohtml -r doc/html/
doinfo doc/info/*.info*
}
+
+src_test() {
+ for pytest in $(ls test/*py); do
+ PYTHONPATH=. ${python} ${pytest} || die "test failed"
+ done
+}