openbsd-ports/cad/ngspice/patches/patch-tests_bin_check_sh
landry 81652152cf Import ngspice-22, from Anthony J. Bentley with some tweaks by jasper@
and myself.

Ngspice is a mixed-level/mixed-signal circuit simulator. Its code is
based on three open source software packages: Spice3f5, Cider1b1 and
Xspice. Ngspice is part of the gEDA project.

Add a patch to enable regress tests, even if some fail at least they
run.
ok jasper@
2011-05-16 08:20:17 +00:00

13 lines
551 B
Plaintext

$OpenBSD: patch-tests_bin_check_sh,v 1.1.1.1 2011/05/16 08:20:17 landry Exp $
--- tests/bin/check.sh.orig Sun May 15 20:45:54 2011
+++ tests/bin/check.sh Sun May 15 20:46:36 2011
@@ -33,7 +33,7 @@ case $HOST_TYPE in
fi
rm -f $testname.test_tmp $testname.out_tmp
;;
- SunOS*)
+ SunOS*|OpenBSD*)
$SPICE --batch $testdir/$testname.cir >$testname.test &&\
sed -e '/^$/d' $testname.test | egrep -v $FILTER > $testname.test_tmp &&\
sed -e '/^$/d' $testdir/$testname.out | egrep -v $FILTER > $testname.out_tmp