From 67ed0e45532539612fff3dcbe227dc01c7c27c76 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Wed, 10 Aug 2016 11:50:41 -0500 Subject: [PATCH] mips: run test on 32-bit QEMU cc #2 --- ci/env.sh | 2 -- ci/install.sh | 9 ++++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ci/env.sh b/ci/env.sh index 09b86f2..6ec927d 100644 --- a/ci/env.sh +++ b/ci/env.sh @@ -37,8 +37,6 @@ case $TARGET in fi ;; mips-unknown-linux-gnu) - # See #2 - export DONT_RUN_TESTS=y if [[ -z $DOCKER ]]; then export DOCKER=y fi diff --git a/ci/install.sh b/ci/install.sh index 9251f79..074b5ea 100644 --- a/ci/install.sh +++ b/ci/install.sh @@ -12,13 +12,18 @@ install_deps() { install_qemu() { case $TARGET in - mips-unknown-linux-gnu | \ mipsel-unknown-linux-gnu | \ powerpc64-unknown-linux-gnu | \ powerpc64le-unknown-linux-gnu) apt-get install -y --no-install-recommends \ qemu-user ;; + mips-unknown-linux-gnu) + dpkg --add-architecture i386 + apt-get update + apt-get install -y --no-install-recommends \ + qemu-user:i386 + ;; esac } @@ -58,8 +63,6 @@ install_c_toolchain() { apt-get install -y --no-install-recommends \ gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross ;; - *) - ;; esac }