From 2e925f15694897d54f5794e3a5cb80194af41ca0 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 22 May 2007 21:18:55 +0000 Subject: 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 --git a/samples/armeb-unknown-linux-gnu/broken b/samples/armeb-unknown-linux-gnu/broken new file mode 100644 index 0000000..e69de29 diff --git a/samples/armeb-unknown-linux-uclibc/broken b/samples/armeb-unknown-linux-uclibc/broken new file mode 100644 index 0000000..e69de29 diff --git a/scripts/showSamples.sh b/scripts/showSamples.sh index ad9e32d..b4553d8 100755 --- a/scripts/showSamples.sh +++ b/scripts/showSamples.sh @@ -11,12 +11,11 @@ dump_single_sample() { 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 -- cgit v0.10.2-6-g49f6