commit: dfff7d0d5c2104311e9f5163931597a29862137e Author: Marek Szuba <marecki <AT> gentoo <DOT> org> AuthorDate: Fri Dec 29 15:11:29 2017 +0000 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> CommitDate: Fri Dec 29 15:11:29 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfff7d0d
sci-electronics/ngspice: reenable tests If USE=debug is not set, all tests should pass now - excessive output which broke empty-1.cir and resume-1.cir was a side effect of enabling NDEV, which we have just disabled as recommended by upstream. If USE=debug *is* set tests cannot presently succeed because of excessive output in all 4 tests in regression/lib-processing/. Just print a warning and skip the tests altogether. See-Also: https://sourceforge.net/p/ngspice/bugs/353/ Gentoo-Bug: https://bugs.gentoo.org/642460 Package-Manager: Portage-2.3.13, Repoman-2.3.3 sci-electronics/ngspice/ngspice-27-r1.ebuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sci-electronics/ngspice/ngspice-27-r1.ebuild b/sci-electronics/ngspice/ngspice-27-r1.ebuild index c7357f55c6e..849d3e48a21 100644 --- a/sci-electronics/ngspice/ngspice-27-r1.ebuild +++ b/sci-electronics/ngspice/ngspice-27-r1.ebuild @@ -15,9 +15,6 @@ SLOT="0" IUSE="X debug doc examples fftw openmp readline shared tcl" KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x64-macos" -# See bug #642460 -RESTRICT="test" - DEPEND="sys-libs/ncurses:0= X? ( x11-libs/libXaw x11-libs/libXt @@ -179,7 +176,14 @@ ngspice_install() { } src_test() { - multibuild_foreach_variant ngspice_test + if ! use debug; then + multibuild_foreach_variant ngspice_test + else + # https://sourceforge.net/p/ngspice/bugs/353/ + ewarn + ewarn "Skipping tests because they are known to fail in debug mode" + ewarn + fi } ngspice_test() {
