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:
12
12
13
13
- sys-img-x86-android-19
14
14
- sys-img-armeabi-v7a-android-16
15
+ - sys-img-armeabi-v7a-android-l
16
+ - sys-img-x86-android-l
15
17
16
18
script :
17
19
- ./runTests.sh || exit 1
Original file line number Diff line number Diff line change 3
3
import android .text .TextUtils ;
4
4
5
5
enum CpuArch {
6
- x86 ("f04974831890b3750761e487f3e4b0d9bdb688a1 " ),
7
- ARMv7 ("3f4580bce9187f94b6cf8ef530074ef0975cb476 " ),
8
- ARMv7_NEON ("fc544c42cf0ef993c0b55463807e5c68cd323c93 " ),
6
+ x86 ("cbc1a2b2f1b832265e030f77ce1a25f5c7e0d11a " ),
7
+ ARMv7 ("93deccc6257ade540302fcd2a08a04cff7bc3f21 " ),
8
+ ARMv7_NEON ("ca1729aba3c5a4cb802d3fc0deca80a5c45ea0b8 " ),
9
9
NONE (null );
10
10
11
11
private String sha1 ;
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
# 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 &
6
6
PID_EMU1=$!
7
- ./wait_for_emulator emulator-5554
7
+ ./wait_for_emulator emulator-5554 || exit 1
8
+ adb -s emulator-5554 shell input keyevent 82 &
8
9
9
10
# armeabi-v7a emulator
10
11
echo 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 &
12
13
PID_EMU2=$!
13
- ./wait_for_emulator emulator-5556
14
+ ./wait_for_emulator emulator-5556 || exit 1
15
+ adb -s emulator-5556 shell input keyevent 82 &
14
16
15
17
# Running Tests
16
18
./gradlew --info build connectedCheck || exit 1
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ until [[ "$bootanim" =~ "stopped" ]]; do
16
16
if [[ " $bootanim " =~ " not found" ]]; then
17
17
let " failcounter += 1"
18
18
sleep 5
19
- if [[ $failcounter -gt 100 ]]; then
19
+ if [[ $failcounter -gt 15 ]]; then
20
20
echo " Failed to start emulator"
21
21
exit 1
22
22
fi
You can’t perform that action at this time.
0 commit comments