diff options
author | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-25 23:09:12 +0000 |
---|---|---|
committer | Ulf Samuelsson <ulf.samuelsson@atmel.com> | 2009-01-25 23:09:12 +0000 |
commit | 070de4f146d83884c21b8698ca5a43a0b2de0f45 (patch) | |
tree | fc29ec712e6f7cd59fbf09d433016e852f14ee52 /scripts/testheader.inc | |
parent | 13a85e3c045a0126d54e4111517bba48c1a99e2a (diff) |
Update verification scripts and status for ARM build
Diffstat (limited to 'scripts/testheader.inc')
-rw-r--r-- | scripts/testheader.inc | 70 |
1 files changed, 50 insertions, 20 deletions
diff --git a/scripts/testheader.inc b/scripts/testheader.inc index 808ccfd9c..80835867f 100644 --- a/scripts/testheader.inc +++ b/scripts/testheader.inc @@ -1,4 +1,7 @@ -alias mk="scripts/mkpkg" +function mk() +{ + scripts/mkpkg $1 $2 "$3" +} function header() { @@ -26,11 +29,16 @@ function EXE() { printf "EXE " if [ ${active} == 1 ] ; then - printf "$1 " - $1 $2 $3 $4 $5 $6 + $1 $2 $3 "$4" return 0; else - echo "$1 $2 $3 $4 $5 $6" + printf "%-8s" "$1" + printf "%-32s" "$2" + printf "%-16s" "$3" + if [ "${4}X" != "X" ] ; then + printf "%-64s" "\"$4\"" + fi + echo return 1; fi } @@ -42,11 +50,16 @@ function AVR() echo "mk $2 UNSUPPORTED \"$4\" $5 $6" return 1; elif [ ${active} == 1 ] ; then - printf "$1 " - $1 $2 $3 $4 $5 $6 + $1 $2 "$3" "$4" return 0; else - echo "$1 $2 $3 $4 $5 $6" + printf "%-8s" "$1" + printf "%-32s" "$2" + printf "%-16s" "$3" + if [ "${4}X" != "X" ] ; then + printf "%-64s" "\"$4\""; + fi + echo return 1; fi } @@ -54,29 +67,46 @@ function AVR() function skip() { - printf "skip %-31s" "$1" - if [ "$2X" == "OKX" ] ; then - echo "DISABLED $3 $4" - elif [ "$2X" == "FAILX" ] ; then - echo "DISABLED $3 $4" - elif [ "$2X" == "BROKENX" ] ; then - echo "DISABLED $3 $4" - elif [ "$2X" == "DISABLEDX" ] ; then - echo "DISABLED \"$3 $4\"" + printf "skip %-8s" "$1" + printf "%-32s" "$2" + if [ "$3X" == "OKX" ] ; then + printf "%-16s" "DISABLED" + if [ "${4}X" != "X" ] ; then + printf "%-64s" "\"$4\"" + fi + elif [ "$3X" == "FAILX" ] ; then + printf "%-16s" "DISABLED" + if [ "${4}X" != "X" ] ; then + printf "%-64s" "\"$4\"" + fi + elif [ "$3X" == "BROKENX" ] ; then + printf "%-16s" "DISABLED" + if [ "${4}X" != "X" ] ; then + printf "%-64s" "\"$4\"" + fi + elif [ "$3X" == "DISABLEDX" ] ; then + printf "%-16s" "DISABLED" + if [ "${4}X" != "X" ] ; then + printf "%-64s" "\"$4\"" + fi else - echo "DISABLED \"$2 $3 $4\"" + printf "%-16s" "DISABLED" + if [ "${4}X" != "X" ] ; then + printf "%-64s" "\"$4\"" + fi fi + echo } function bb() { - printf "bb " + printf "%-8s" "bb" if [ ${busybox} == 1 ] ; then - printf "$1 " + printf "%-8s" "$1" $1 $2 $3 $4 $5 $6 return 0; else - echo "$1 $2 $3 $4 $5 $6" + echo "$1 $2 $3 $4 $5 $6" return 1; fi } |