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
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
}
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() {