check_list.sh
来自「ncbi源码」· Shell 代码 · 共 71 行
SH
71 行
#! /bin/sh# $Id: check_list.sh,v 1000.3 2004/02/12 21:52:38 gouriano Exp $# Author: Vladimir Ivanov, NCBI ############################################################################## Obtaining a check list for NCBI C++ Toolkit tree## Usage:# check_list.sh <target_dir> <tmp_dir> <date_time> <cvs_tree>## target_dir - directory to copy list of tests -- absolute path# (default is current).# tmp_dir - base name of the temporary directory for cvs checkout# (default is current).# date_time - get check list on specified date/time# (default is current).# Note that some tests can be already deleted in the CVS. # cvs_tree - --development or --production.## If any parameter is skipped that will be used default value for it.############################################################################# Parameterstarget_dir=${1:-`pwd`}tmp_dir=${2:-`pwd`}date_time=${3:+"--date=$3"}cvs_tree=${4:-'--development'}cvs_core=${NCBI:-/netopt/ncbi_tools}/c++.metastable/scripts/cvs_core.shsrc_dir="$tmp_dir/c++.checklist"conf_name="TEST_CONF"# Get C++ tree from CVS for Unix platformrm -rf "$src_dir" > /dev/nullflags="--without-gui --without-objects --without-cvs --unix"if [ -n "$date_time" ]; then $cvs_core "$src_dir" $flags "$date_time" $cvs_tree || exit 1else $cvs_core "$src_dir" $flags $cvs_tree || exit 1fi# Make any configururationcd "$src_dir"./configure --without-internal --with-build-root=$conf_name || exit 2# Make check listcd $conf_name/build || exit 3make check_r RUN_CHECK=N CHECK_USE_IGNORE_LIST=N# Copy check list to target dircp check.sh.list "$target_dir" || exit 4# Cleanupcd ../../..rm -rf "$src_dir" > /dev/nullexit 0# # ===========================================================================# PRODUCTION $Log: check_list.sh,v $# PRODUCTION Revision 1000.3 2004/02/12 21:52:38 gouriano# PRODUCTION PRODUCTION: UPGRADED [CORE_001] Dev-tree R1.7# PRODUCTION# ===========================================================================#
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?