From 95651f62a90a5317f7d9741069242a74e4662b66 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sat, 13 Aug 2016 19:56:34 -0500 Subject: [PATCH] disable tests for ppc64le, drop logic around QEMU_ARCH --- ci/env.sh | 4 +++- ci/install.sh | 8 +------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/ci/env.sh b/ci/env.sh index bb1bd26..5524995 100644 --- a/ci/env.sh +++ b/ci/env.sh @@ -46,8 +46,10 @@ case $TARGET in ;; powerpc64le-unknown-linux-gnu) export PREFIX=powerpc64le-linux-gnu- - export QEMU_ARCH=i386 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) export CARGO=xargo diff --git a/ci/install.sh b/ci/install.sh index 6e527b5..db862cc 100644 --- a/ci/install.sh +++ b/ci/install.sh @@ -3,13 +3,7 @@ set -ex . $(dirname $0)/env.sh install_qemu() { - case ${QEMU_ARCH:-$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 - ;; + case $TRAVIS_OS_NAME in linux) apt-get update apt-get install -y --no-install-recommends \