summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-06-22 12:45:55 +0000
committerJustin Lecher <jlec@gentoo.org>2010-06-22 12:45:55 +0000
commit9992ef253cdfe040f07f5913115b301c15d22e50 (patch)
treee9ae6b6b8eee0220a810f7072549f2c99c841a32 /sci-chemistry/apbs
parentVersion bump, remove old (diff)
downloadgentoo-2-9992ef253cdfe040f07f5913115b301c15d22e50.tar.gz
gentoo-2-9992ef253cdfe040f07f5913115b301c15d22e50.tar.bz2
gentoo-2-9992ef253cdfe040f07f5913115b301c15d22e50.zip
Fixed test suite
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sci-chemistry/apbs')
-rw-r--r--sci-chemistry/apbs/ChangeLog6
-rw-r--r--sci-chemistry/apbs/apbs-1.2.1b-r3.ebuild7
-rw-r--r--sci-chemistry/apbs/apbs-1.2.1b-r4.ebuild18
3 files changed, 19 insertions, 12 deletions
diff --git a/sci-chemistry/apbs/ChangeLog b/sci-chemistry/apbs/ChangeLog
index 07803acbc9c1..82cf6e5f92e1 100644
--- a/sci-chemistry/apbs/ChangeLog
+++ b/sci-chemistry/apbs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-chemistry/apbs
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.33 2010/06/17 01:48:33 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.34 2010/06/22 12:45:55 jlec Exp $
+
+ 22 Jun 2010; Justin Lecher <jlec@gentoo.org> apbs-1.2.1b-r3.ebuild,
+ apbs-1.2.1b-r4.ebuild:
+ Fixed test suite
17 Jun 2010; Justin Bronder <jsbronder@gentoo.org> apbs-1.0.0-r1.ebuild,
apbs-1.2.1b-r3.ebuild, apbs-1.2.1b-r4.ebuild:
diff --git a/sci-chemistry/apbs/apbs-1.2.1b-r3.ebuild b/sci-chemistry/apbs/apbs-1.2.1b-r3.ebuild
index bd421118dca8..86e86cd1d4f9 100644
--- a/sci-chemistry/apbs/apbs-1.2.1b-r3.ebuild
+++ b/sci-chemistry/apbs/apbs-1.2.1b-r3.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-chemistry/apbs/apbs-1.2.1b-r3.ebuild,v 1.3 2010/06/17 01:48:33 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b-r3.ebuild,v 1.4 2010/06/22 12:45:55 jlec Exp $
EAPI="3"
@@ -44,6 +44,8 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-autoconf-2.64.patch
sed "s:GENTOO_PKG_NAME:${PN}:g" \
-i Makefile.am || die "Cannot correct package name"
+ # this test is broken
+ sed '/ion-pmf/d' -i examples/Makefile.am || die
eautoreconf
find . -name "._*" -exec rm -f '{}' \;
}
@@ -80,9 +82,6 @@ src_configure() {
${myconf}
}
-src_compile() {
- emake -j1 || die "make failed"
-}
src_test() {
cd examples && make test \
diff --git a/sci-chemistry/apbs/apbs-1.2.1b-r4.ebuild b/sci-chemistry/apbs/apbs-1.2.1b-r4.ebuild
index a61a51837ee2..fc0580e815b2 100644
--- a/sci-chemistry/apbs/apbs-1.2.1b-r4.ebuild
+++ b/sci-chemistry/apbs/apbs-1.2.1b-r4.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-chemistry/apbs/apbs-1.2.1b-r4.ebuild,v 1.2 2010/06/17 01:48:33 jsbronder Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.2.1b-r4.ebuild,v 1.3 2010/06/22 12:45:55 jlec Exp $
EAPI="3"
@@ -46,6 +46,8 @@ src_prepare() {
"${FILESDIR}"/${P}-parallelbuild.patch
sed "s:GENTOO_PKG_NAME:${PN}:g" \
-i Makefile.am || die "Cannot correct package name"
+ # this test is broken
+ sed '/ion-pmf/d' -i examples/Makefile.am || die
eautoreconf
find . -name "._*" -exec rm -f '{}' \;
}
@@ -84,13 +86,15 @@ src_configure() {
${myconf}
}
-src_compile() {
- emake || die "make failed"
-}
-
src_test() {
- cd examples && make test \
- || die "Tests failed"
+ if use tinker; then
+ elog "tinker code make apbs to not reach the expected precission"
+ elog "https://sourceforge.net/tracker/?func=detail&aid=3019465&group_id=148472&atid=771704"
+ else
+ cd examples && make test \
+ || die "Tests failed"
+ grep -q 'FAILED' "${S}"/examples/TESTRESULTS.log && die "Tests failed"
+ fi
}
src_install() {