From 06cd1ba05be7600d2b36e16fd48494dcd40c4bac Mon Sep 17 00:00:00 2001 From: grev Date: Fri, 4 Dec 2009 21:01:18 +0000 Subject: [PATCH] b=19616 o=Walter.Poxon i=grev read the list of tests to except from the file if it exist --- lustre/tests/test-framework.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) 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/* ]] || \ -- 1.8.3.1