# HG changeset patch # User "Yann E. MORIN" # Date 1179868735 0 # Node ID 851120479fb9008e9beb8d372bbc0180b580dcf5 # Parent 8de240c770dc61e1e12256157b305e85551ce09a 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). diff -r 8de240c770dc -r 851120479fb9 scripts/showSamples.sh --- a/scripts/showSamples.sh Tue May 22 21:16:17 2007 +0000 +++ b/scripts/showSamples.sh Tue May 22 21:18:55 2007 +0000 @@ -11,12 +11,11 @@ local width="$1" local sample="$2" . "${CT_TOP_DIR}/samples/${sample}/crosstool.config" - # Build the components string - local str="${CT_KERNEL}-${CT_KERNEL_VERSION}" - str="${str} binutils-${CT_BINUTILS_VERSION}" - str="${str} ${CT_CC}-${CT_CC_VERSION}" - str="${str} ${CT_LIBC}-${CT_LIBC_VERSION}" - printf " %-*s - %s\n" ${width} "${sample}" "${str}" + printf " %-*s" ${width} "${sample}" + [ -f "${CT_TOP_DIR}/samples/${sample}/broken" ] && printf " (broken)" + echo + echo " | ${CT_KERNEL}-${CT_KERNEL_VERSION} binutils-${CT_BINUTILS_VERSION}" + echo " \ ${CT_CC}-${CT_CC_VERSION} ${CT_LIBC}-${CT_LIBC_VERSION}" } # Get largest sample width