Files
annotate/detectors/ir/test/go_test.sh

19 lines
266 B
Bash
Raw Normal View History

#!/bin/csh -f
echo "+ [testing IR]"
../bin/go_ir.sh test.fst > test.bak
diff -q test.bak test.ref >& /dev/null
set stat = $status
if ($stat == 0) then
echo '+ IR test Ok'
\rm -r test.bak
else
echo '+ IR test Failure'
endif
exit $stat