]> git.proxmox.com Git - rustc.git/blame - src/ci/docker/scripts/android-start-emulator.sh
New upstream version 1.33.0+dfsg1
[rustc.git] / src / ci / docker / scripts / android-start-emulator.sh
CommitLineData
476ff2be 1#!/bin/sh
476ff2be
SL
2
3set -ex
cc61c64b
XL
4
5# Setting SHELL to a file instead on a symlink helps android
6# emulator identify the system
7export SHELL=/bin/bash
7cac9316
XL
8
9# Using the default qemu2 engine makes time::tests::since_epoch fails because
10# the emulator date is set to unix epoch (in armeabi-v7a-18 image). Using
11# classic engine the emulator starts with the current date and the tests run
12# fine. If another image is used, this need to be evaluated again.
13nohup nohup emulator @armeabi-v7a-18 \
14 -engine classic -no-window -partition-size 2047 0<&- &>/dev/null &
15
476ff2be 16exec "$@"