From: grev Date: Fri, 4 Dec 2009 21:01:18 +0000 (+0000) Subject: b=19616 X-Git-Tag: GIT_EPOCH_B_HD_KDMU~17 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=06cd1ba05be7600d2b36e16fd48494dcd40c4bac;p=fs%2Flustre-release.git b=19616 o=Walter.Poxon i=grev read the list of tests to except from the file if it exist --- diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 747d111..618437f 100644 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -23,6 +23,16 @@ export QUOTA_AUTO=1 LUSTRE=${LUSTRE:-$(cd $(dirname $0)/..; echo $PWD)} . $LUSTRE/tests/functions.sh +LUSTRE_TESTS_CFG_DIR=${LUSTRE_TESTS_CFG_DIR:-${LUSTRE}/tests/cfg} + +EXCEPT_LIST_FILE=${EXCEPT_LIST_FILE:-${LUSTRE_TESTS_CFG_DIR}/tests-to-skip.sh} + +if [ -f "$EXCEPT_LIST_FILE" ]; then + echo "Reading test skip list from $EXCEPT_LIST_FILE" + cat $EXCEPT_LIST_FILE + . $EXCEPT_LIST_FILE +fi + assert_DIR () { local failed="" [[ $DIR/ = $MOUNT/* ]] || \