summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-25 22:37:22 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-25 22:37:22 +0000
commit31e8e88a23cec62b344d68f1c6cc06b53cb759d8 (patch)
tree32d62314e7c7d5b2a34685abb4643aea13710048 /sci-physics
parentRemoved old (diff)
downloadgentoo-2-31e8e88a23cec62b344d68f1c6cc06b53cb759d8.tar.gz
gentoo-2-31e8e88a23cec62b344d68f1c6cc06b53cb759d8.tar.bz2
gentoo-2-31e8e88a23cec62b344d68f1c6cc06b53cb759d8.zip
Fix src_test() (bug #316245).
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'sci-physics')
-rw-r--r--sci-physics/camfr/ChangeLog6
-rw-r--r--sci-physics/camfr/camfr-20070717-r2.ebuild14
2 files changed, 13 insertions, 7 deletions
diff --git a/sci-physics/camfr/ChangeLog b/sci-physics/camfr/ChangeLog
index 27c51bbb93ab..9cb2f8f9e17f 100644
--- a/sci-physics/camfr/ChangeLog
+++ b/sci-physics/camfr/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-physics/camfr
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.17 2010/06/25 13:25:00 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/ChangeLog,v 1.18 2010/06/25 22:37:22 arfrever Exp $
+
+ 25 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ camfr-20070717-r2.ebuild:
+ Fix src_test() (bug #316245).
*camfr-20070717-r2 (25 Jun 2010)
diff --git a/sci-physics/camfr/camfr-20070717-r2.ebuild b/sci-physics/camfr/camfr-20070717-r2.ebuild
index 633ff319f5fb..4b8e070b4112 100644
--- a/sci-physics/camfr/camfr-20070717-r2.ebuild
+++ b/sci-physics/camfr/camfr-20070717-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v 1.1 2010/06/25 13:25:00 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-physics/camfr/camfr-20070717-r2.ebuild,v 1.2 2010/06/25 22:37:22 arfrever Exp $
EAPI=2
@@ -73,11 +73,13 @@ src_prepare() {
}
src_test() {
- # trick to avoid X in testing (bug #229753)
- echo "backend : Agg" > matplotlibrc
- PYTHONPATH=".:visualisation" "$(PYTHON)" testsuite/camfr_test.py \
- || die "tests failed"
- rm -f matplotlibrc
+ testing() {
+ # trick to avoid X in testing (bug #229753)
+ echo "backend : Agg" > matplotlibrc
+ PYTHONPATH=".:visualisation" "$(PYTHON)" testsuite/camfr_test.py
+ rm -f matplotlibrc
+ }
+ python_execute_function -s testing
}
src_install() {