diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-04-07 16:14:04 -0500 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-04-07 16:14:04 -0500 |
commit | 94b48c2386480d754d302291ddce9651129d6338 (patch) | |
tree | 2d6a4b1ce2b78778d1a4476aa9b6590a05dd659d | |
parent | a51b828378016f271a0302f6073b08fc3c5c6ad6 (diff) |
recover from build breakage, disable ppc hard-float, as qemu-system-ppc has problems.
-rwxr-xr-x | embedded-test.sh | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/embedded-test.sh b/embedded-test.sh index ea4a476..328c4cf 100755 --- a/embedded-test.sh +++ b/embedded-test.sh @@ -25,6 +25,7 @@ # sheb network card get no ip # sparc64 network card does not work right # ppcsf problem with busybox sort, broken startup order for glibc +# ppc qemu startup has problems. unclear why. # uClibc-ng arch_list_uclibcng_quick="arm arc avr32 bfin c6x cris m68k m68k-nommu mipsel mips64el ppcsf sh sparc x86 x86_64 xtensa" @@ -74,6 +75,7 @@ EOF } +break=0 clean=0 shell=0 update=0 @@ -84,7 +86,7 @@ quick=0 ntp=time.fu-berlin.de -while getopts "hfgumdqcn:a:s:l:t:p:" ch; do +while getopts "bhfgumdqcn:a:s:l:t:p:" ch; do case $ch in m) shell=1 @@ -92,6 +94,9 @@ while getopts "hfgumdqcn:a:s:l:t:p:" ch; do g) git=1 ;; + b) + break=1 + ;; c) clean=1 ;; @@ -424,8 +429,6 @@ EOF fi chmod u+x ${root}/run.sh - - echo "Creating initramfs filesystem" (cd $root; find . | cpio -o -C512 -Hnewc |xz --check=crc32 --stdout > ${topdir}/initramfs.${arch}) rm -rf $root @@ -687,15 +690,15 @@ for lib in ${libc}; do libdir=musl ;; esac - if [ ! -z $archtolist ];then + if [ ! -z $archtolist ]; then archlist="$archtolist" fi - if [ ! -z $source ];then - if [ ! -d $source ];then + if [ ! -z $source ]; then + if [ ! -d $source ]; then echo "Not a directory." exit 1 fi - if [ $fast -eq 0 ];then + if [ $fast -eq 0 ]; then usrc=$(mktemp -d /tmp/XXXX) echo "Creating source tarball openadk/dl/${libver}.tar.xz" cp -a $source $usrc/$libver @@ -709,9 +712,13 @@ for lib in ${libc}; do echo "Architectures to test: $archlist" for arch in ${archlist}; do # start with a clean dir - if [ $clean -eq 1 ];then + if [ $clean -eq 1 ]; then (cd openadk && make cleandir) fi + if [ $break -eq 1 -a -f "REPORT.${arch}.${lib}.${tests}.${version}" ]; then + echo "Skipping this test after last build break" + continue + fi echo "Compiling base system and toolchain for $lib and $arch" build $lib $arch notest if [ ! -z "$tests" ];then @@ -720,7 +727,7 @@ for lib in ${libc}; do case $lib in uclibc-ng) case $arch in - arc|arcbe|armeb|avr32|bfin|c6x|cris|microblazeel|microblazebe|m68k|m68k-nommu|nios2|sheb|mips64eln32|mips64n32) + arc|arcbe|armeb|avr32|bfin|c6x|cris|microblazeel|microblazebe|m68k|m68k-nommu|nios2|ppc|sheb|mips64eln32|mips64n32) echo "runtime tests disabled for $arch." ;; *) @@ -731,7 +738,7 @@ for lib in ${libc}; do ;; musl) case $arch in - armeb|sheb) + armeb|ppc|sheb) echo "runtime tests disabled for $arch." ;; *) @@ -742,7 +749,7 @@ for lib in ${libc}; do ;; glibc) case $arch in - armeb|m68k|nios2|sheb|sparc64|tile) + armeb|m68k|nios2|ppc|sheb|sparc64|tile) echo "runtime tests disabled for $arch." ;; *) |