Mark broken samples as such: use a file named 'broken' in the sample's directory.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue May 22 21:18:55 2007 +0000 (2007-05-22)
changeset 124851120479fb9
parent 123 8de240c770dc
child 125 79cbbb9b63f3
Mark broken samples as such: use a file named 'broken' in the sample's directory.
Reflected this state when listing samples (in scripts/showSamples.sh).
samples/armeb-unknown-linux-gnu/broken
samples/armeb-unknown-linux-uclibc/broken
scripts/showSamples.sh
     1.1 --- a/scripts/showSamples.sh	Tue May 22 21:16:17 2007 +0000
     1.2 +++ b/scripts/showSamples.sh	Tue May 22 21:18:55 2007 +0000
     1.3 @@ -11,12 +11,11 @@
     1.4      local width="$1"
     1.5      local sample="$2"
     1.6      . "${CT_TOP_DIR}/samples/${sample}/crosstool.config"
     1.7 -    # Build the components string
     1.8 -    local str="${CT_KERNEL}-${CT_KERNEL_VERSION}"
     1.9 -    str="${str} binutils-${CT_BINUTILS_VERSION}"
    1.10 -    str="${str} ${CT_CC}-${CT_CC_VERSION}"
    1.11 -    str="${str} ${CT_LIBC}-${CT_LIBC_VERSION}"
    1.12 -    printf "  %-*s - %s\n" ${width} "${sample}" "${str}"
    1.13 +    printf "  %-*s" ${width} "${sample}"
    1.14 +    [ -f "${CT_TOP_DIR}/samples/${sample}/broken" ] && printf "  (broken)"
    1.15 +    echo
    1.16 +    echo "    | ${CT_KERNEL}-${CT_KERNEL_VERSION} binutils-${CT_BINUTILS_VERSION}"
    1.17 +    echo "    \ ${CT_CC}-${CT_CC_VERSION} ${CT_LIBC}-${CT_LIBC_VERSION}"
    1.18  }
    1.19  
    1.20  # Get largest sample width