summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2009-07-29 20:25:25 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2009-07-29 20:25:25 +0000
commit8270f8e9bb9e1edde11e349b97fefe55e8795c4a (patch)
tree7185ed1c9073703ede56ffa559056eec2c6fba07 /eclass/db.eclass
parentRemove mask for libcompizconfig -r1 which isn't in tree anymore and -r2 has a... (diff)
downloadgentoo-2-8270f8e9bb9e1edde11e349b97fefe55e8795c4a.tar.gz
gentoo-2-8270f8e9bb9e1edde11e349b97fefe55e8795c4a.tar.bz2
gentoo-2-8270f8e9bb9e1edde11e349b97fefe55e8795c4a.zip
Remove silly, and wrong, test for test in FEATURES
Diffstat (limited to 'eclass/db.eclass')
-rw-r--r--eclass/db.eclass24
1 files changed, 11 insertions, 13 deletions
diff --git a/eclass/db.eclass b/eclass/db.eclass
index 5ae256efe5b4..02e5fb018204 100644
--- a/eclass/db.eclass
+++ b/eclass/db.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.30 2006/08/15 19:43:17 pauldv Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/db.eclass,v 1.31 2009/07/29 20:25:25 pauldv Exp $
# This is a common location for functions used in the sys-libs/db ebuilds
#
# Bugs: pauldv@gentoo.org
@@ -116,17 +116,15 @@ db_src_install_usrlibcleanup() {
}
db_src_test() {
- if has test $FEATURES; then
- if useq tcl; then
- einfo "Running sys-libs/db testsuite"
- ewarn "This can take 6+ hours on modern machines"
- cd ${S}
- echo 'source ../test/test.tcl' >testrunner.tcl
- echo 'run_std' >>testrunner.tcl
- tclsh testrunner.tcl
- egrep -qs '^FAIL' ALL.OUT && die "Some tests failed, please see ${S}/ALL.OUT"
- else
- eerror "You must have USE=tcl to run the sys-libs/db testsuite."
- fi
+ if useq tcl; then
+ einfo "Running sys-libs/db testsuite"
+ ewarn "This can take 6+ hours on modern machines"
+ cd ${S}
+ echo 'source ../test/test.tcl' >testrunner.tcl
+ echo 'run_std' >>testrunner.tcl
+ tclsh testrunner.tcl
+ egrep -qs '^FAIL' ALL.OUT && die "Some tests failed, please see ${S}/ALL.OUT"
+ else
+ eerror "You must have USE=tcl to run the sys-libs/db testsuite."
fi
}