projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lm3s1968: merge the DevelGPS example application.
[bertos.git]
/
test
/
get_source_list.sh
diff --git
a/test/get_source_list.sh
b/test/get_source_list.sh
index c17fe74aa627e8be054fa291eeed0222bbb7377b..cb244570635438ab6d48db1f7dec9f20cd5bd497 100755
(executable)
--- 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
SRC_ALL=${GEN_SRC}" "${TRG_SRC}
# Find the files that contain the string
-# NOTEST <cpu target> and put it in a list
+# NOTEST <cpu target>
+# or
+# NOTEST all
+# and put them in a list
NOTEST="notest:"
for src in $SRC_ALL ;
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"
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
done
# Remove the exclude list files from the sources to be