#/bin/csh
unset noclobber
foreach example (examples/*.fp)
    src/nq $example | grep -v runtime | grep -v size |\
		      grep -v Machine > $example:r.tst
    diff $example:r.out $example:r.tst > /dev/null
    if( $status != 0 ) then
	echo Error in test example $example
	echo Please mail the file $example:r.tst 
	echo "    " to werner@pell.anu.edu.au
    else
	rm $example:r.tst
    endif
end
