checkFunctions.sh revision 9a648682ccaa8ef63583548c3edb01c6542d7885
{
}
#parameters: progr option annofile infile outfile set?
runcheck ()
{
prog=$1 # takes an option and an annofile on the command line
option=$2
annofile=$3
infile=$4
outfile=$5
set=$6
echo "testing $option"
then
if [ -f $outfile ]
then
then echo " passed"
else
echo " failed diff with $outfile"
fi
declare -i b=`getNumberOfLines $infile`
then echo " $a errors for $b input lines"
fi
fi
else
fi
else
fi
}
runchecker ()
{
}
#parameters: option extension
runmycheck ()
{
runchecker $1 $1.$2 $1.$2.output $SET
}
{
runchecker $1 Wrong$1.$2 Wrong$1.$2.output $SET
}