test_objmgr_loaders_pubseqos.sh
上传用户:yhdzpy8989
上传日期:2007-06-13
资源大小:13604k
文件大小:1k
源码类别:
生物技术
开发平台:
C/C++
- #! /bin/sh
- #$Id: test_objmgr_loaders_pubseqos.sh,v 1000.0 2004/04/12 17:49:06 gouriano Exp $
- method="PUBSEQOS"
- if test ! -f "../../../../status/Sybase.enabled"; then
- echo Sybase is disabled: skipping PUBSEQOS loader test
- exit 0
- fi
- if grep "^signature = GCC_295-.*-linux-gnu" ../../../Makefile.mk > /dev/null 2>&1; then
- echo "This test is disabled for GCC-2.95 compiler on Linux"
- exit 0
- fi
- echo "Checking GenBank loader $method:"
- GENBANK_LOADER_METHOD="$method"
- export GENBANK_LOADER_METHOD
- $CHECK_EXEC "$@"
- exitcode=$?
- if test $exitcode -ne 0; then
- echo "Test of GenBank loader $method failed: $exitcode"
- case $exitcode in
- # signal 1 (HUP), 2 (INTR), 9 (KILL), or 15 (TERM).
- 129|130|137|143) echo "Apparently killed"; break ;;
- esac
- fi
- exit $exitcode
- #
- # ===========================================================================
- # PRODUCTION $Log: test_objmgr_loaders_pubseqos.sh,v $
- # PRODUCTION Revision 1000.0 2004/04/12 17:49:06 gouriano
- # PRODUCTION PRODUCTION: IMPORTED [CATCHUP_003] Dev-tree R1.2
- # PRODUCTION
- # ===========================================================================
- #