libqbe/lisc/tools/regress.sh

18 lines
213 B
Bash
Raw Normal View History

2016-02-26 15:46:15 -05:00
#!/bin/sh
for t in test/*
do
printf "Test $t ... "
./lisc $t 2>&1 > /tmp/out.0
./lisc.1 $t 2>&1 > /tmp/out.1
if diff /tmp/out.0 /tmp/out.1 > /dev/null
then
echo "OK"
else
echo "KO"
break
fi
done