diff options
author | Ali Polatel <hawking@gentoo.org> | 2008-01-04 09:16:49 +0000 |
---|---|---|
committer | Ali Polatel <hawking@gentoo.org> | 2008-01-04 09:16:49 +0000 |
commit | 9dcb799722505ea4a6c65696c8be60008911aaad (patch) | |
tree | f448969ed4a7e1c235fffd342ba29243dfa2fff6 /dev-python | |
parent | Remove older version. (diff) | |
download | gentoo-2-9dcb799722505ea4a6c65696c8be60008911aaad.tar.gz gentoo-2-9dcb799722505ea4a6c65696c8be60008911aaad.tar.bz2 gentoo-2-9dcb799722505ea4a6c65696c8be60008911aaad.zip |
Added src_test.
(Portage version: 2.1.4_rc14)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/gnosis-utils/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild | 10 |
2 files changed, 13 insertions, 4 deletions
diff --git a/dev-python/gnosis-utils/ChangeLog b/dev-python/gnosis-utils/ChangeLog index 4fc00732ec19..9af3454cb731 100644 --- a/dev-python/gnosis-utils/ChangeLog +++ b/dev-python/gnosis-utils/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-python/gnosis-utils -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/ChangeLog,v 1.8 2007/02/15 21:02:50 dev-zero Exp $ +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/ChangeLog,v 1.9 2008/01/04 09:16:49 hawking Exp $ + + 04 Jan 2008; Ali Polatel <hawking@gentoo.org> gnosis-utils-1.2.1.ebuild: + Added src_test. *gnosis-utils-1.2.1 (15 Feb 2007) diff --git a/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild b/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild index d6514eadc074..a5393c780071 100644 --- a/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild +++ b/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild,v 1.1 2007/02/15 21:02:50 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/gnosis-utils/gnosis-utils-1.2.1.ebuild,v 1.2 2008/01/04 09:16:49 hawking Exp $ NEED_PYTHON=2.1 @@ -40,3 +40,9 @@ src_install() { distutils_src_install } + +src_test() { + python_version + cd "${S}"/gnosis/xml/pickle/test + PYTHONPATH="${S}/build/lib" ${python} test_all.py || die "tests failed." +} |