summary refs log tree commit diff
path: root/lisc/tools/regress.sh
blob: c1b90b2bd3deb7ebebcf6c8ceaa3cb46acb2d82d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

for t in test/*
do
	printf "Test $t ... "

	./lisc   $t >/tmp/out.0 2>&1
	./lisc.1 $t >/tmp/out.1 2>&1

	if diff /tmp/out.0 /tmp/out.1 > /dev/null
	then
		echo "OK"
	else
		echo "KO"
		break
	fi
done