mips: run test on 32-bit QEMU

cc #2
This commit is contained in:
Jorge Aparicio 2016-08-10 11:50:41 -05:00
parent 5a1eee91a0
commit 67ed0e4553
2 changed files with 6 additions and 5 deletions

View File

@ -37,8 +37,6 @@ case $TARGET in
fi fi
;; ;;
mips-unknown-linux-gnu) mips-unknown-linux-gnu)
# See #2
export DONT_RUN_TESTS=y
if [[ -z $DOCKER ]]; then if [[ -z $DOCKER ]]; then
export DOCKER=y export DOCKER=y
fi fi

View File

@ -12,13 +12,18 @@ install_deps() {
install_qemu() { install_qemu() {
case $TARGET in case $TARGET in
mips-unknown-linux-gnu | \
mipsel-unknown-linux-gnu | \ mipsel-unknown-linux-gnu | \
powerpc64-unknown-linux-gnu | \ powerpc64-unknown-linux-gnu | \
powerpc64le-unknown-linux-gnu) powerpc64le-unknown-linux-gnu)
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
qemu-user qemu-user
;; ;;
mips-unknown-linux-gnu)
dpkg --add-architecture i386
apt-get update
apt-get install -y --no-install-recommends \
qemu-user:i386
;;
esac esac
} }
@ -58,8 +63,6 @@ install_c_toolchain() {
apt-get install -y --no-install-recommends \ apt-get install -y --no-install-recommends \
gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross gcc-powerpc64le-linux-gnu libc6-dev-ppc64el-cross
;; ;;
*)
;;
esac esac
} }