summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2021-03-12 18:11:31 +0000
committerMarek Szuba <marecki@gentoo.org>2021-03-12 18:11:52 +0000
commit9067113227bf522d57857227af8f548406c76a49 (patch)
treeb8a31fbaa14cc3cc81abea32ba0f1142e72fc594 /sci-electronics
parentapp-doc/linuxfromscratch: drop 7.10 (EAPI 5) (diff)
downloadgentoo-9067113227bf522d57857227af8f548406c76a49.tar.gz
gentoo-9067113227bf522d57857227af8f548406c76a49.tar.bz2
gentoo-9067113227bf522d57857227af8f548406c76a49.zip
sci-electronics/ngspice-34: re-enable tests
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'sci-electronics')
-rw-r--r--sci-electronics/ngspice/ngspice-34.ebuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/sci-electronics/ngspice/ngspice-34.ebuild b/sci-electronics/ngspice/ngspice-34.ebuild
index d8cc8a52047e..9f70865e81ca 100644
--- a/sci-electronics/ngspice/ngspice-34.ebuild
+++ b/sci-electronics/ngspice/ngspice-34.ebuild
@@ -15,11 +15,7 @@ SLOT="0"
IUSE="X debug deprecated doc examples fftw openmp +readline +shared tcl"
KEYWORDS="~amd64 ~arm64 ~ppc ~sparc ~x86 ~x64-macos"
-# A large number of tests currently fails due to spurious
-# "No compatibility mode selected!" messages in the output,
-# see https://sourceforge.net/p/ngspice/bugs/544/
-#RESTRICT="!test? ( test )"
-RESTRICT="test"
+RESTRICT="!test? ( test )"
DEPEND="sys-libs/ncurses:0=
X? ( x11-libs/libXaw
@@ -191,6 +187,7 @@ src_test() {
if ! use debug; then
# tests can be only executed for the binaries variant
pushd "${WORKDIR}/${P}-binaries" &>/dev/null || die
+ echo "set ngbehavior=mc" > "${HOME}"/.spiceinit || die "Failed to configure ${PN} for running the test suite"
virtx default
popd &>/dev/null || die
else