X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=test%2Fget_source_list.sh;h=cb244570635438ab6d48db1f7dec9f20cd5bd497;hb=699476ac2d788ecb8bad9c78b036e81b606b0847;hp=c17fe74aa627e8be054fa291eeed0222bbb7377b;hpb=ae8a609173e4490fd03875f96e388038053b9288;p=bertos.git 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