From bc0d169d26c9e9bc9977c2ff82b39b63f6c42d0a Mon Sep 17 00:00:00 2001 From: arighi Date: Fri, 19 Mar 2010 13:32:05 +0000 Subject: [PATCH] Allow to define "notest: all" to completely exclude some testcases from the nightly test. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3246 38d2e660-2303-0410-9eaa-f027e97ec537 --- test/get_source_list.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/test/get_source_list.sh b/test/get_source_list.sh index c17fe74a..cb244570 100755 --- a/test/get_source_list.sh +++ b/test/get_source_list.sh @@ -66,7 +66,10 @@ TRG_SRC=`find ${CPU_DIR}/$CPU_TARGET -name \.svn -prune -o -name *.${2} -print | SRC_ALL=${GEN_SRC}" "${TRG_SRC} # Find the files that contain the string -# NOTEST and put it in a list +# NOTEST +# or +# NOTEST all +# and put them in a list NOTEST="notest:" for src in $SRC_ALL ; @@ -74,7 +77,11 @@ do grep -P "$NOTEST\s*$CPU_TARGET" $src 2>&1 > /dev/null if [ $? -eq 0 ] ; then EXCLUDE_LIST="$EXCLUDE_LIST $src" - fi + fi + grep -P "$NOTEST\s*all" $src 2>&1 > /dev/null + if [ $? -eq 0 ] ; then + EXCLUDE_LIST="$EXCLUDE_LIST $src" + fi done # Remove the exclude list files from the sources to be -- 2.25.1