Skip to content

Commit

Permalink
Create Android AVD after test build and use more RAM on the emulator.
Browse files Browse the repository at this point in the history
  • Loading branch information
pietro authored and briansmith committed Apr 15, 2017
1 parent 48f6b36 commit 4a13608
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 0 additions & 4 deletions mk/travis-install-android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,6 @@ expect {
popd
fi

echo no | $ANDROID_SDK_INSTALL_DIR/tools/android create avd --name arm-18 --target android-18 --abi armeabi-v7a

$ANDROID_SDK_INSTALL_DIR/tools/android list avd

if [[ ! -d $ANDROID_NDK_INSTALL_DIR/sysroot/usr/include/arm-linux-androideabi ]];then
mkdir -p "${ANDROID_INSTALL_PREFIX}/downloads"
pushd "${ANDROID_INSTALL_PREFIX}/downloads"
Expand Down
4 changes: 3 additions & 1 deletion mk/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ fi
case $TARGET_X in
armv7-linux-androideabi)
cargo test -vv -j2 --no-run ${mode-} ${FEATURES_X-} --target=$TARGET_X
emulator @arm-18 -no-skin -no-boot-anim -no-window &
echo no | android create avd --name arm-18 --target android-18 --abi armeabi-v7a
android list avd
emulator @arm-18 -memory 2048 -no-skin -no-boot-anim -no-window &
adb wait-for-device
adb push $target_dir/ring-* /data/ring-test
for testfile in `find src crypto -name "*_test*.txt"`; do
Expand Down

0 comments on commit 4a13608

Please sign in to comment.