Files
annotate/detectors/cds/test/go_test.sh
alain viari e4d6a8484d cds/tools/chlorodb added
Former-commit-id: 0579e878a69b7c285ca71870e9ca5730649a2fda
Former-commit-id: 7cced5b488441d87bf070a9a444317db0e048880
2015-11-13 17:41:18 +01:00

29 lines
523 B
Bash
Executable File

#!/bin/csh -f
setenv Verbose 1
setenv ORG_HOME `dirname $0`/../../..
source $ORG_HOME/scripts/csh_init.sh
echo "+ testing CDS"
setenv TMP_CLEANUP 0
setenv PASS1_SPEEDUP 1
setenv PASS1_SLOWDOWN 0
setenv PASS1_BLASTX_FILTER_NBMAX 5
`dirname $0`/../bin/go_cds.sh test.fst test.db > test.bak
diff -q test.bak test.ref >& /dev/null
set stat = $status
if ($stat == 0) then
echo "+ $VTC[3]CDS test Ok$VTC[1]"
\rm -r test.bak test.tmp test.db/*.fst.p??
else
echo "* $VTC[2]CDS test Failure$VTC[1]"
endif
exit $stat