From 805e9938edf24eb11a8630456b1aba5891a848df Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 17 Apr 2010 17:17:21 +0000 Subject: Disable tests failing when stdout is not a tty. (Portage version: HEAD/cvs/Linux x86_64) --- dev-python/logilab-common/logilab-common-0.49.0.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dev-python/logilab-common') diff --git a/dev-python/logilab-common/logilab-common-0.49.0.ebuild b/dev-python/logilab-common/logilab-common-0.49.0.ebuild index 769122a74680..d8c1222b792e 100644 --- a/dev-python/logilab-common/logilab-common-0.49.0.ebuild +++ b/dev-python/logilab-common/logilab-common-0.49.0.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/dev-python/logilab-common/logilab-common-0.49.0.ebuild,v 1.2 2010/04/13 15:41:49 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.49.0.ebuild,v 1.3 2010/04/17 17:17:21 arfrever Exp $ EAPI="3" PYTHON_DEPEND="2" @@ -31,7 +31,12 @@ PYTHON_MODNAME="logilab" src_prepare() { distutils_src_prepare - epatch "${FILESDIR}/${PN}-0.41.0-remove-broken-tests.patch" + # Disable broken test. + sed -e "s/test_knownValues_is_standard_module_4/_&/" -i test/unittest_modutils.py + + # Disable tests failing when stdout is not a tty. + sed -e "s/test_both_capture/_&/" -i test/unittest_testlib.py + sed -e "s/test_capture_core/_&/" -i test/unittest_testlib.py } src_test() { -- cgit v1.2.3-65-gdbad