summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-05-17 11:31:15 +0000
committerJeroen Roovers <jer@gentoo.org>2010-05-17 11:31:15 +0000
commit0b4dd9a4b3da1d6041338af98e972973bf6fa98f (patch)
treed354779f83d720b927a6d2fc7d2e052f10c38f0b /sys-apps
parentx86 stable wrt bug #318783 (diff)
downloadhistorical-0b4dd9a4b3da1d6041338af98e972973bf6fa98f.tar.gz
historical-0b4dd9a4b3da1d6041338af98e972973bf6fa98f.tar.bz2
historical-0b4dd9a4b3da1d6041338af98e972973bf6fa98f.zip
Run test suite only if debugging is enabled.
Package-Manager: portage-2.2_rc67/cvs/Linux i686
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/parted/ChangeLog5
-rw-r--r--sys-apps/parted/Manifest4
-rw-r--r--sys-apps/parted/parted-2.2.ebuild10
3 files changed, 15 insertions, 4 deletions
diff --git a/sys-apps/parted/ChangeLog b/sys-apps/parted/ChangeLog
index ffcf96537fd0..07fdb4bb5825 100644
--- a/sys-apps/parted/ChangeLog
+++ b/sys-apps/parted/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/parted
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/parted/ChangeLog,v 1.143 2010/05/11 06:30:22 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/parted/ChangeLog,v 1.144 2010/05/17 11:31:15 jer Exp $
+
+ 17 May 2010; Jeroen Roovers <jer@gentoo.org> parted-2.2.ebuild:
+ Run test suite only if debugging is enabled.
11 May 2010; Jeroen Roovers <jer@gentoo.org> metadata.xml:
Explain USE=+debug very specifically (bug #304231).
diff --git a/sys-apps/parted/Manifest b/sys-apps/parted/Manifest
index 1ea9b85507a3..f8343dda4351 100644
--- a/sys-apps/parted/Manifest
+++ b/sys-apps/parted/Manifest
@@ -3,6 +3,6 @@ DIST parted-2.1.tar.gz 2901992 RMD160 9e489f5bb5b55b841444f100164e8ced89ca6384 S
DIST parted-2.2.tar.gz 2892429 RMD160 7d3c29b00d43791cbbb693fd23368b1d81b5b04e SHA1 95c4710c527020ae7d76ebbc67d2639c71af862e SHA256 f208bc9dfc2ff6108a0f9dc9f2ed0a00655430b07e8150a0689f6eba2c583eaa
EBUILD parted-1.9.0.ebuild 1238 RMD160 fa87975ae04db61d21165e01975d46f6a306959f SHA1 cef26b98960ecef4e963345e63d8c4ad71a2af28 SHA256 351672d67342f99f8b1b2fda112d7b03ba1fe3a2065def603188a325eecc2241
EBUILD parted-2.1.ebuild 1245 RMD160 8e8e6cb5302e0812056490475d38811c31b81906 SHA1 1826de29a425ab4abd105cf65833c20b33f2f4ea SHA256 6d58cda71a7a0551ba3596d583f0933cd6160bae7e38266543b3a1874ee5a307
-EBUILD parted-2.2.ebuild 1245 RMD160 e416f9954d47612dc6c7fc89a7f245c114798532 SHA1 67bf23e76643eddc6b0f898fc4deda62dad7848f SHA256 7f696984eeecfdba4d1584b4268d5770529e3ad83fb229f23276cea19a8ad8ca
-MISC ChangeLog 20344 RMD160 2ea05b811cfb498ebe1ff8e2a76c14cc1cbe0dbe SHA1 6ac6d55ce14a75f0d1c1b293e9a786dad5bd4d6b SHA256 47f845aab120791b2f59d7c8c53520e6d758d45839145834b6e53610d045d191
+EBUILD parted-2.2.ebuild 1385 RMD160 7121e1a57a2bc84e629c29dadd0142f8d53e8450 SHA1 0d3c8cde1c9c350a83d1df22cbb3276cf29cdcf7 SHA256 f7e6d1e9dcd523e90d69d9033c7016f8cf6866f8bac56f246e74687089ce9e2f
+MISC ChangeLog 20458 RMD160 68c18f137c035336522db968b29130eceda4e125 SHA1 6240515967755d637ed03940d7beaead37ee2abc SHA256 b1409da6be65beece4378315df63166d32f0f51984d0dd6b636f85fe301f33a0
MISC metadata.xml 644 RMD160 42deac3c811b5acc573f7811be6d41783b7dd328 SHA1 bc79bf40569046bb560cc84c431e13caa393aa12 SHA256 53ecb92c7d1e15c7b950ca3cd13bb949830f317ad01df6d3f564b7b24a0a02f0
diff --git a/sys-apps/parted/parted-2.2.ebuild b/sys-apps/parted/parted-2.2.ebuild
index 26fb3bd1ae43..c2af226e1abf 100644
--- a/sys-apps/parted/parted-2.2.ebuild
+++ b/sys-apps/parted/parted-2.2.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/sys-apps/parted/parted-2.2.ebuild,v 1.1 2010/02/26 15:46:20 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/parted/parted-2.2.ebuild,v 1.2 2010/05/17 11:31:15 jer Exp $
EAPI="2"
@@ -38,6 +38,14 @@ src_configure() {
--disable-Werror || die "Configure failed"
}
+src_test() {
+ if use debug; then
+ emake check || die "emake check failed"
+ else
+ ewarn "Skipping tests because USE=-debug is set."
+ fi
+}
+
src_install() {
emake install DESTDIR="${D}" || die "Install failed"
dodoc AUTHORS BUGS ChangeLog NEWS README THANKS TODO