Mercurial > hg > aboriginal
view more/smoketest-report.sh @ 1632:0ffebfaa7b8f
Added tag 1.2.5 for changeset 556a5bc3c8a4
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 06 Oct 2013 14:31:01 -0500 |
parents | 58bd855892c3 |
children |
line wrap: on
line source
#!/bin/bash . sources/utility_functions.sh || exit 1 # Test all architctures to see whether or not they can compile and run # the included "hello world" program. echo "Architecture,Smoketest,Control Image,Build Stage" for i in $(ls sources/targets | sed 's@.*/@@') do [ ! -f "sources/targets/$i" ] && continue echo -n "$i," grep -q 'Hello world!' build/logs/smoketest-$i.txt 2>/dev/null && echo -n "PASS," || echo -n "FAIL," [ -e "build/dropbearmulti-$i" ] && echo -n "PASS," || echo -n "FAIL," echo $( sed -n 's/^=== \([^(]*\)([^ ]* \(.*\))/\2 \1/p' \ build/logs/build-$i.txt | tail -n 1 ) done