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
;;
mips-unknown-linux-gnu)
# See #2
export DONT_RUN_TESTS=y
if [[ -z $DOCKER ]]; then
export DOCKER=y
fi

View File

@ -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
}