You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
251 B
13 lines
251 B
#! /bin/sh
|
|
|
|
NGSPICE=../src/ngspice
|
|
DIFFPIPE="Analysis|CPU|memory|Date|Note"
|
|
|
|
function spicetest () {
|
|
$NGSPICE < $srcdir/$1.cir 2>&1 | egrep -v $DIFFPIPE > $1.test
|
|
if diff -u $1.test $srcdir/$1.out; then
|
|
rm $1.test
|
|
exit 0
|
|
fi
|
|
exit 1
|
|
}
|