Mercurial > hg > aboriginal
comparison smoketest-all.sh @ 740:5b063eb13fd0
Quick and dirty script to run smoketest.sh on all targets, to see if they can compile and run "hello world".
author | Rob Landley <rob@landley.net> |
---|---|
date | Sat, 30 May 2009 18:21:03 -0500 |
parents | |
children | 75835debe6b5 |
comparison
equal
deleted
inserted
replaced
739:104e8a35ea2e | 740:5b063eb13fd0 |
---|---|
1 #!/bin/bash | |
2 | |
3 # Test all targets to see whether or not they can compile and run "hello world" | |
4 | |
5 ls -pd build/system-image-* | sed -n 's@.*/system-image-\(.*\)/@\1@p' | while read i | |
6 do | |
7 echo -n "Testing $i:" | |
8 RESULT="$(./smoketest.sh "$i" 2>&1 | grep 'Hello world!')" | |
9 [ -z "$RESULT" ] && echo "FAIL" || echo "PASS" | |
10 rm -f build/system-image-"$i"/hdb.img 2>/dev/null | |
11 done |