File tree Expand file tree Collapse file tree 8 files changed +13
-9
lines changed
src/main/java/com/github/hiteshsondhi88/libffmpeg Expand file tree Collapse file tree 8 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ android:
1212
1313 - sys-img-x86-android-19
1414 - sys-img-armeabi-v7a-android-16
15+ - sys-img-armeabi-v7a-android-l
16+ - sys-img-x86-android-l
1517
1618script :
1719 - ./runTests.sh || exit 1
Original file line number Diff line number Diff line change 33import android .text .TextUtils ;
44
55enum CpuArch {
6- x86 ("f04974831890b3750761e487f3e4b0d9bdb688a1 " ),
7- ARMv7 ("3f4580bce9187f94b6cf8ef530074ef0975cb476 " ),
8- ARMv7_NEON ("fc544c42cf0ef993c0b55463807e5c68cd323c93 " ),
6+ x86 ("cbc1a2b2f1b832265e030f77ce1a25f5c7e0d11a " ),
7+ ARMv7 ("93deccc6257ade540302fcd2a08a04cff7bc3f21 " ),
8+ ARMv7_NEON ("ca1729aba3c5a4cb802d3fc0deca80a5c45ea0b8 " ),
99 NONE (null );
1010
1111 private String sha1 ;
Original file line number Diff line number Diff line change 11#! /bin/bash
22
33# x86 emulator
4- echo no | android create avd -c 50M --force -n testx86 -t android-19 --abi x86
5- emulator -ports 5554,5555 -partition-size 256 -avd testx86 -no-skin -no-boot-anim -no-audio -no-window &
4+ echo no | android create avd -c 50M --force -n testx86 -t android-16 --abi x86
5+ emulator -ports 5554,5555 -partition-size 256 -avd testx86 -no-skin -no-boot-anim -no-audio -no-window -gpu on &
66PID_EMU1=$!
7- ./wait_for_emulator emulator-5554
7+ ./wait_for_emulator emulator-5554 || exit 1
8+ adb -s emulator-5554 shell input keyevent 82 &
89
910# armeabi-v7a emulator
1011echo no | android create avd -c 50M --force -n testarm -t android-16 --abi armeabi-v7a
11- emulator -ports 5556,5557 -partition-size 256 -avd testarm -no-skin -no-boot-anim -no-audio -no-window &
12+ emulator -ports 5556,5557 -partition-size 256 -avd testarm -no-skin -no-boot-anim -no-audio -no-window -gpu on &
1213PID_EMU2=$!
13- ./wait_for_emulator emulator-5556
14+ ./wait_for_emulator emulator-5556 || exit 1
15+ adb -s emulator-5556 shell input keyevent 82 &
1416
1517# Running Tests
1618./gradlew --info build connectedCheck || exit 1
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ until [[ "$bootanim" =~ "stopped" ]]; do
1616 if [[ " $bootanim " =~ " not found" ]]; then
1717 let " failcounter += 1"
1818 sleep 5
19- if [[ $failcounter -gt 100 ]]; then
19+ if [[ $failcounter -gt 15 ]]; then
2020 echo " Failed to start emulator"
2121 exit 1
2222 fi
You can’t perform that action at this time.
0 commit comments