A hacked version of check.sh to generate test files

This commit is contained in:
pnenzi 2001-01-21 17:14:10 +00:00
parent 504ab3b0f9
commit 9ae4040d53
1 changed files with 11 additions and 0 deletions

11
tests/maketest.sh Normal file
View File

@ -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