Mercurial > hg > aboriginal
view smoketest.sh @ 923:4e798d7aa5f9
Move to 2.6.32 kernel, updating patches. (With a much less ugly fix for powerpc, and allowing arm to use more qemu -cpu options.)
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 08 Dec 2009 08:36:10 -0600 |
parents | 2ca7ea5d3ec1 |
children | c1556be739ba |
line wrap: on
line source
#!/bin/bash . sources/functions.sh || exit 1 # This script compiles stuff under the final system, using distcc to call out # to the cross compiler. It calls run-from-build with a here document. # Note that the first line of the script is a few spaces followed by a comment # character. This gives some harmless data for the linux boot process (serial # initialization) to consume and discard before it gets to the command prompt. # (The comment character is just so you can see how much got eaten.) # If you cat your own script into emulator-build.sh, you probably also need # to start with a line of spaces like that. Just FYI. SKIP_HOME=1 sources/timeout.sh 60 ./run-from-build.sh $1 << 'EOF' # # Show free space df # Smoke test for the compiler gcc -s /usr/src/thread-hello2.c -lpthread -o /tmp/hello && /tmp/hello sync exit EOF