Changeset 431bb85d in rtems
- Timestamp:
- 05/19/14 13:07:22 (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 5b45d51
- Parents:
- dac5696
- git-author:
- Chris Johns <chrisj@…> (05/19/14 13:07:22)
- git-committer:
- Chris Johns <chrisj@…> (05/28/14 13:44:26)
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/automake/test-subdirs.am
rdac5696 r431bb85d 23 23 echo "BSP Testsuite Data: $$vtdata"; \ 24 24 list=`$(top_srcdir)/../../tools/build/rtems-test-check \ 25 $$tdata $( RTEMS_BSP) $(_SUBDIRS)`; \25 $$tdata $(top_srcdir)/.. $(RTEMS_BSP) $(_SUBDIRS)`; \ 26 26 for subdir in $$list; do \ 27 27 echo "Making $$target in $$subdir"; \ -
tools/build/rtems-test-check
rdac5696 r431bb85d 6 6 7 7 # 8 # usage: rtems-test-check <bsp-test-database> < bsp> <tests..>8 # usage: rtems-test-check <bsp-test-database> <includes> <bsp> <tests..> 9 9 # 10 10 … … 16 16 testdata="$1" 17 17 shift 18 includepath="$1" 19 shift 18 20 bsp="$1" 19 21 shift … … 24 26 # If there is no testdata all tests are valid. 25 27 # 28 26 29 if test -f $testdata; then 27 30 disabled_tests="" 28 for t in $(cat $testdata | sed -e 's/#.*$//' -e '/^$/d');31 while [ ! -z $testdata ]; 29 32 do 30 disabled_tests="${disabled_tests} ${t}" 33 for td in $testdata; 34 do 35 ntd="" 36 exec 3<& 0 37 exec 0<$td 38 while read line 39 do 40 line=$(echo $line | sed -e 's/#.*$//' -e '/^$/d') 41 if [ ! -z "$line" ]; then 42 include=$(echo $line | sed -e "s/include:.*/yes/g") 43 if [ "$include" = "yes" ]; then 44 inf=$(echo $line | sed -e "s/include://g" -e 's/^[ \t]//;s/[ \t]$//') 45 if test -f $includepath/$inf; then 46 ntd="$includepath/$inf $ntd" 47 fi 48 else 49 disabled_tests="${disabled_tests} $line" 50 fi 51 fi 52 done 53 done 54 testdata=$ntd 31 55 done 32 56
Note: See TracChangeset
for help on using the changeset viewer.