view @ 742:46c4978c9a5c

Add a 60 second timeout to smoketest. (Some qemu failure modes involve hanging.)
author Rob Landley <>
date Sun, 31 May 2009 02:36:22 -0500
parents 5b063eb13fd0
children 75835debe6b5
line wrap: on
line source


# Test all targets to see whether or not they can compile and run "hello world"

ls -pd build/system-image-* | sed -n 's@.*/system-image-\(.*\)/@\1@p' | while read i
  echo -n "Testing $i:"
  RESULT="$(./ "$i" 2>&1 | grep 'Hello world!')"
  [ -z "$RESULT" ] && echo "FAIL" || echo "PASS"
  rm -f build/system-image-"$i"/hdb.img 2>/dev/null