added cds/tools/compare

Former-commit-id: 07fb256bf17db3f0ffc1730b0383f8255fbb9129
Former-commit-id: fd6a1fe72a39c5633c2f9fb6de09af979c2a48f3
This commit is contained in:
alain viari
2015-11-09 01:15:14 +01:00
parent c3c2be254f
commit d77a0dfe67
16 changed files with 12503 additions and 16 deletions

View File

@ -1,18 +1,21 @@
#!/bin/csh -f
echo "+ [testing tRNA]"
setenv ORG_HOME `dirname $0`/../../..
source $ORG_HOME/scripts/csh_init.sh
../bin/go_trna.sh test.fst > test.bak
echo "+ testing tRNA"
`dirname $0`/../bin/go_trna.sh test.fst > test.bak
diff -q test.bak test.ref >& /dev/null
set stat = $status
if ($stat == 0) then
echo '+ tRNA test Ok'
echo "+ $VTC[3]tRNA test Ok$VTC[1]"
\rm -r test.bak
else
echo '+ tRNA test Failure'
echo "* $VTC[2]tRNA test Failure$VTC[1]"
endif
exit $stat