summary refs log tree commit diff
path: root/lisc/tools/regress.sh
blob: cfc70f2ee61f8ac401f5857c9d20972ba8e1fe95 (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 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