A hacked version of check.sh to generate test files
This commit is contained in:
parent
504ab3b0f9
commit
9ae4040d53
|
|
@ -0,0 +1,11 @@
|
||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
NGSPICE=/usr/local/bin/ngspice
|
||||||
|
TEST=$1
|
||||||
|
|
||||||
|
DIFFPIPE="Analysis|CPU|memory|Date|Note|Mon|Tue|Wed|Thu|Fri|Sat|Sun"
|
||||||
|
|
||||||
|
testname=$(basename $TEST .cir)
|
||||||
|
testdir=$(dirname $TEST)
|
||||||
|
$NGSPICE < $testdir/$testname.cir 2>&1 | egrep -v $DIFFPIPE > $testname.test
|
||||||
|
exit 0
|
||||||
Loading…
Reference in New Issue