Mercurial > hg > aboriginal
changeset 917:a181d81540ed
Make smoketest-all.sh list architectures that didn't successfully make a system image as status "NONE".
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 03 Dec 2009 01:38:21 -0600 |
parents | 991a74436235 |
children | 18f052489f5d |
files | sources/more/smoketest-all.sh |
diffstat | 1 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/sources/more/smoketest-all.sh Thu Dec 03 01:26:26 2009 -0600 +++ b/sources/more/smoketest-all.sh Thu Dec 03 01:38:21 2009 -0600 @@ -32,9 +32,14 @@ # Test all non-hw targets to see whether or not they can compile and run # the included "hello world" program. -for i in $(ls -pd build/system-image-* | sed -n 's@.*/system-image-\(.*\)/@\1@p' | grep -v "^hw-") +for i in $(ls -d sources/targets/* | sed 's@.*/@@' | grep -v "^hw-") do - maybe_fork "dotest $i" + if [ -e "build/system-image-$i" ] + then + maybe_fork "dotest $i" + else + echo "Testing $i:NONE" + fi done wait