disable tests for ppc64le, drop logic around QEMU_ARCH

This commit is contained in:
Jorge Aparicio 2016-08-13 19:56:34 -05:00
parent 9bee966c00
commit 95651f62a9
2 changed files with 4 additions and 8 deletions

View File

@ -46,8 +46,10 @@ case $TARGET in
;; ;;
powerpc64le-unknown-linux-gnu) powerpc64le-unknown-linux-gnu)
export PREFIX=powerpc64le-linux-gnu- export PREFIX=powerpc64le-linux-gnu-
export QEMU_ARCH=i386
export QEMU_LD_PREFIX=/usr/powerpc64le-linux-gnu export QEMU_LD_PREFIX=/usr/powerpc64le-linux-gnu
# QEMU crashes, even running the simplest cross compiled C program:
# `int main() { return 0; }`
export RUN_TESTS=n
;; ;;
thumbv*-none-eabi) thumbv*-none-eabi)
export CARGO=xargo export CARGO=xargo

View File

@ -3,13 +3,7 @@ set -ex
. $(dirname $0)/env.sh . $(dirname $0)/env.sh
install_qemu() { install_qemu() {
case ${QEMU_ARCH:-$TRAVIS_OS_NAME} in case $TRAVIS_OS_NAME in
i386)
dpkg --add-architecture $QEMU_ARCH
apt-get update
apt-get install -y --no-install-recommends \
binfmt-support qemu-user-static:$QEMU_ARCH
;;
linux) linux)
apt-get update apt-get update
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \