binki       14/06/12 06:05:39

  Modified:             check-0.9.13.ebuild ChangeLog
  Log:
  Disable sleep()-based tests by default, see bug #512826.
  
  (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 
743A52E86BA81050)

Revision  Changes    Path
1.2                  dev-libs/check/check-0.9.13.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/check/check-0.9.13.ebuild?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/check/check-0.9.13.ebuild?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/check/check-0.9.13.ebuild?r1=1.1&r2=1.2

Index: check-0.9.13.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/check/check-0.9.13.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- check-0.9.13.ebuild 12 Jun 2014 04:50:37 -0000      1.1
+++ check-0.9.13.ebuild 12 Jun 2014 06:05:39 -0000      1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/check/check-0.9.13.ebuild,v 1.1 
2014/06/12 04:50:37 binki Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/check/check-0.9.13.ebuild,v 1.2 
2014/06/12 06:05:39 binki Exp $
 
 EAPI=5
 
@@ -20,6 +20,12 @@
 DEPEND="subunit? ( dev-python/subunit )"
 RDEPEND="${DEPEND}"
 
+pkg_setup() {
+       # See multilib_src_test(), disable sleep()-based tests because they
+       # just take a long time doing pretty much nothing.
+       export CPPFLAGS="-DTIMEOUT_TESTS_ENABLED=0 ${CPPFLAGS}"
+}
+
 src_prepare() {
        sed -i -e '/^docdir =/d' {.,doc}/Makefile.am || die
 
@@ -42,6 +48,13 @@
        autotools-multilib_src_configure
 }
 
+multilib_src_test() {
+       elog "-DTIMEOUT_TESTS_ENABLED=0 has been prepended to CPPFLAGS. To run 
the"
+       elog "entire testsuite for dev-libs/check, ensure that"
+       elog "-DTIMEOUT_TESTS_ENABLED=1 is in your CPPFLAGS."
+       default_src_test
+}
+
 src_install() {
        autotools-multilib_src_install
        dodoc AUTHORS *ChangeLog* NEWS README THANKS TODO



1.97                 dev-libs/check/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/check/ChangeLog?rev=1.97&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/check/ChangeLog?rev=1.97&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/check/ChangeLog?r1=1.96&r2=1.97

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/check/ChangeLog,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- ChangeLog   12 Jun 2014 04:57:55 -0000      1.96
+++ ChangeLog   12 Jun 2014 06:05:39 -0000      1.97
@@ -1,6 +1,9 @@
 # ChangeLog for dev-libs/check
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/check/ChangeLog,v 1.96 2014/06/12 
04:57:55 binki Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/check/ChangeLog,v 1.97 2014/06/12 
06:05:39 binki Exp $
+
+  12 Jun 2014; Nathan Phillip Brink <bi...@gentoo.org> check-0.9.13.ebuild:
+  Disable sleep()-based tests by default, see bug #512826.
 
   12 Jun 2014; Nathan Phillip Brink <bi...@gentoo.org> -check-0.9.10.ebuild,
   -check-0.9.9.ebuild:




Reply via email to