diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-05-17 11:31:15 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-05-17 11:31:15 +0000 |
commit | 97d1cf39ab1d21a9bcac17f824c99f6d1f36518f (patch) | |
tree | fcbaa92bcec730510df4baa6e1e61ff71ac44b31 /sys-apps | |
parent | x86 stable wrt bug #318783 (diff) | |
download | gentoo-2-97d1cf39ab1d21a9bcac17f824c99f6d1f36518f.tar.gz gentoo-2-97d1cf39ab1d21a9bcac17f824c99f6d1f36518f.tar.bz2 gentoo-2-97d1cf39ab1d21a9bcac17f824c99f6d1f36518f.zip |
Run test suite only if debugging is enabled.
(Portage version: 2.2_rc67/cvs/Linux i686)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/parted/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/parted/parted-2.2.ebuild | 10 |
2 files changed, 13 insertions, 2 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/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 |