Mercurial > hg > aboriginal
view more/smoketest-all.sh @ 1786:0787ceb820bf draft 1.4.2
When x86-64 switched on NPTL in uClibc, distcc broke, and it turns out fully
native compiles under qemu never worked due to qemu not quite emulating
floating point right and confusing the perl build with zero not comparing equal
to zero.
As long as it's broken anyway, switch it over to musl and fix it up on that
side. It's no longer worth trying to fix anything broken in uClibc, the
project is dead. (I'm aware of uClibc-ng, and am treating it exactly the
same way I treated the ecommstation reboot of OS/2.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Fri, 11 Sep 2015 13:25:14 -0500 |
parents | a4823c561e28 |
children |
line wrap: on
line source
#!/bin/bash # Run smoketest script on every build/system-image-* architecture. # If $FORK is set, run them in parallel. [ -z "$FORK" ] || TIMEOUT=${TIMEOUT:-180} . sources/utility_functions.sh || exit 1 function dotest() { [ -z "$FORK" ] && echo -n "Testing $1:" [ ! -z "$VERBOSE" ] && VERBOSITY="tee >(cat >&2) |" RESULT="$(more/smoketest.sh "$1" 2>&1 | eval "$VERBOSITY grep 'Hello world!'")" [ -z "$RESULT" ] && RESULT="FAIL" || RESULT="PASS" [ -z "$FORK" ] && echo "$RESULT" || echo "Testing $1:$RESULT" rm -f build/system-image-"$1"/hdb.img 2>/dev/null } # Test all non-hw targets to see whether or not they can compile and run # the included "hello world" program. for i in $(ls -d sources/targets/* | sed 's@.*/@@' | grep -v "^hw-") do if [ -e "build/system-image-$i" ] then maybe_fork "dotest $i" else echo "Testing $i:NONE" fi done wait