Former-commit-id: 32011d9b239e2c5ed93646a8173b285f377693a3 Former-commit-id: 6e804387bfacfc4e9242ef3f7014642044f3aa2c
29 lines
533 B
Bash
Executable File
29 lines
533 B
Bash
Executable File
#!/bin/env tcsh -f
|
|
|
|
setenv Verbose 0
|
|
|
|
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/core/*.fst.p??
|
|
else
|
|
echo "* $VTC[2]CDS test Failure$VTC[1]"
|
|
endif
|
|
|
|
exit $stat
|