singrdk/base/Windows/csic/test/newbaseline.sh

18 lines
351 B
Bash
Raw Normal View History

2008-11-17 18:29:00 -05:00
# update lcsc test baseline files
# ./newbaseline.sh file...
# set -x
for f
do
echo 1>&2 $f:
b=`basename $f .cs`
for t in $b.il $b.1; do
if [ -e $t -a -e $t.expected ]; then
if cmp -s $t $t.expected ; then rm $t; else mv $t $t.expected; fi
elif [ -e $t ]; then mv $t $t.expected; fi
done
rm -f $b.exe $b.pdb
done
exit 0