summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-06-28 10:31:39 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-06-28 10:31:39 +0000
commitcd02285c6870763aad0b8cc5c1456cd9da720750 (patch)
treeddb8ec68721daa49cd3e1b33cc4d4f27ab0d85af
parentFix beta8 digest - again! (diff)
downloadhistorical-cd02285c6870763aad0b8cc5c1456cd9da720750.tar.gz
historical-cd02285c6870763aad0b8cc5c1456cd9da720750.tar.bz2
historical-cd02285c6870763aad0b8cc5c1456cd9da720750.zip
Add src_test support for fftw.
Package-Manager: portage-2.1.1_pre1-r5
-rw-r--r--sci-libs/fftw/ChangeLog5
-rw-r--r--sci-libs/fftw/Manifest16
-rw-r--r--sci-libs/fftw/fftw-3.1.1.ebuild27
3 files changed, 33 insertions, 15 deletions
diff --git a/sci-libs/fftw/ChangeLog b/sci-libs/fftw/ChangeLog
index d0bead6137e6..fc71e787ea81 100644
--- a/sci-libs/fftw/ChangeLog
+++ b/sci-libs/fftw/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-libs/fftw
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/ChangeLog,v 1.34 2006/06/24 14:21:49 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/ChangeLog,v 1.35 2006/06/28 10:31:39 robbat2 Exp $
+
+ 28 Jun 2006; Robin H. Johnson <robbat2@gentoo.org> fftw-3.1.1.ebuild:
+ Add src_test support for fftw.
24 Jun 2006; Markus Dittrich <markusle@gentoo.org> fftw-3.0.1-r2.ebuild,
fftw-3.1.1.ebuild:
diff --git a/sci-libs/fftw/Manifest b/sci-libs/fftw/Manifest
index 55910ad9e36d..54f4966095bf 100644
--- a/sci-libs/fftw/Manifest
+++ b/sci-libs/fftw/Manifest
@@ -38,18 +38,18 @@ EBUILD fftw-3.0.1.ebuild 2103 RMD160 a32b0e8965d3f48bc2f0b5aac931ffcf96aa1302 SH
MD5 1b3f7c7f367fa0164bf31ab90e61d8f5 fftw-3.0.1.ebuild 2103
RMD160 a32b0e8965d3f48bc2f0b5aac931ffcf96aa1302 fftw-3.0.1.ebuild 2103
SHA256 9c0f3b39259be3d778db1d306e8fb712684a3f1d8b3f1189bbd38cadf10707c4 fftw-3.0.1.ebuild 2103
-EBUILD fftw-3.1.1.ebuild 2508 RMD160 14c128bb6ae552247e876b3665fb21d5bd1934fa SHA1 fafc54566ade05383bcdbc4f4f09fbeaed72d9d1 SHA256 e76d868b2fb849c84561cd02b7dccc9ae15c1c1b9bd02ffb5264c3d18ced7b03
-MD5 09c6fe920b4eecbb140f20951c942af2 fftw-3.1.1.ebuild 2508
-RMD160 14c128bb6ae552247e876b3665fb21d5bd1934fa fftw-3.1.1.ebuild 2508
-SHA256 e76d868b2fb849c84561cd02b7dccc9ae15c1c1b9bd02ffb5264c3d18ced7b03 fftw-3.1.1.ebuild 2508
+EBUILD fftw-3.1.1.ebuild 3045 RMD160 b5da61f29ad1249910cb524a3fccaeb1a2e9bed4 SHA1 0383be0c7460007f200ad1265ecb8c36c0a2afc6 SHA256 c8b76f5765e8e461749a586194e388d5c771ab2444c1cabdf90b7da57ec36bc8
+MD5 313db8f17ed0b9fe30596f0073b62f38 fftw-3.1.1.ebuild 3045
+RMD160 b5da61f29ad1249910cb524a3fccaeb1a2e9bed4 fftw-3.1.1.ebuild 3045
+SHA256 c8b76f5765e8e461749a586194e388d5c771ab2444c1cabdf90b7da57ec36bc8 fftw-3.1.1.ebuild 3045
EBUILD fftw-3.1.ebuild 2151 RMD160 3349ccfe88c06635e50bbc5fddc840bcdae2b5d3 SHA1 7bbf2ceb5034e7adca9bac427a91967a4689e14b SHA256 24f733e442a086a4a4e473d5d6d4319302ba0abf1c40cefc0e9d7039635836ad
MD5 23256637dd0ccf113b366717c812e44e fftw-3.1.ebuild 2151
RMD160 3349ccfe88c06635e50bbc5fddc840bcdae2b5d3 fftw-3.1.ebuild 2151
SHA256 24f733e442a086a4a4e473d5d6d4319302ba0abf1c40cefc0e9d7039635836ad fftw-3.1.ebuild 2151
-MISC ChangeLog 9167 RMD160 4477322dffb4c563218fec3fd955c098c300281b SHA1 e08a89d52dafbc622473c8e2eac40627d5e4d3d4 SHA256 a0d5dd37eef44c4cbe7d7c1d1645f2dabc390c72a7da74760005c3934a2a30e0
-MD5 0b4749b4312f2645ed8c67966c740818 ChangeLog 9167
-RMD160 4477322dffb4c563218fec3fd955c098c300281b ChangeLog 9167
-SHA256 a0d5dd37eef44c4cbe7d7c1d1645f2dabc390c72a7da74760005c3934a2a30e0 ChangeLog 9167
+MISC ChangeLog 9272 RMD160 b3f60776b90f413b00cee1d74166b24516340964 SHA1 f6fda193fb1f910d8e8c589260e88f2a34d9f33d SHA256 13a7084630e6dc71318ea9871a6b849a6d9c84cf4b9e355bcf8bdfac1feb99de
+MD5 948c9ec734e72c671aaa58e060fdabcb ChangeLog 9272
+RMD160 b3f60776b90f413b00cee1d74166b24516340964 ChangeLog 9272
+SHA256 13a7084630e6dc71318ea9871a6b849a6d9c84cf4b9e355bcf8bdfac1feb99de ChangeLog 9272
MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900
MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156
diff --git a/sci-libs/fftw/fftw-3.1.1.ebuild b/sci-libs/fftw/fftw-3.1.1.ebuild
index 4755b4dfab68..5f51ec5ce5eb 100644
--- a/sci-libs/fftw/fftw-3.1.1.ebuild
+++ b/sci-libs/fftw/fftw-3.1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/fftw-3.1.1.ebuild,v 1.6 2006/06/24 14:21:49 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/fftw/fftw-3.1.1.ebuild,v 1.7 2006/06/28 10:31:39 robbat2 Exp $
inherit flag-o-matic eutils toolchain-funcs autotools
@@ -11,9 +11,9 @@ SRC_URI="http://www.fftw.org/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="3.0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc-macos ~ppc64 ~sparc ~x86"
-IUSE="altivec sse sse2"
+IUSE="altivec sse sse2 test"
-DEPEND=""
+DEPEND="test? ( dev-lang/perl )"
src_unpack() {
unpack ${A}
@@ -87,13 +87,13 @@ src_install () {
#all builds are installed in the same place
#libs have distinuguished names; include files, docs etc. identical.
cd "${S}-single"
- make DESTDIR=${D} install || die
+ emake DESTDIR="${D}" install || die
cd "${S}-double"
- make DESTDIR=${D} install || die
+ emake DESTDIR="${D}" install || die
cd "${S}-longdouble"
- make DESTDIR=${D} install || die
+ emake DESTDIR="${D}" install || die
# Install documentation.
cd "${S}-single"
@@ -103,3 +103,18 @@ src_install () {
cd doc/html
dohtml -r .
}
+
+src_test () {
+ # We want this to be a reasonably quick test, but that is still hard...
+ ewarn "This test series will take 30 minutes on a modern 2.5Ghz machine"
+ # Do not increase the number of threads, it will not help your performance
+ local testbase="perl check.pl --nthreads=1 --estimate"
+ for d in single double longdouble; do
+ cd "${S}-${d}"/tests
+ for p in 0 1 2; do
+ n="${d/longdouble/long double} / ${p}-D"
+ einfo "Testing $n"
+ ${testbase} -${p}d || die "Failure: $n"
+ done
+ done
+}