view smoketest-all.sh @ 743:5e745e03408a

Commit 729 broke canadian cross to fix ppc440 build, so try again to hopefully fix _both_ issues.
author Rob Landley <rob@landley.net>
date Thu, 11 Jun 2009 00:26:15 -0500
parents 5b063eb13fd0
children 75835debe6b5
line wrap: on
line source

#!/bin/bash

# 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
do
  echo -n "Testing $i:"
  RESULT="$(./smoketest.sh "$i" 2>&1 | grep 'Hello world!')"
  [ -z "$RESULT" ] && echo "FAIL" || echo "PASS"
  rm -f build/system-image-"$i"/hdb.img 2>/dev/null
done