mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 21:27:41 +02:00
Support ./build.py emulator with an APK argument
This commit is contained in:
@ -146,7 +146,7 @@ test_main() {
|
||||
|
||||
if [ -z "$AVD_TEST_SKIP_DEBUG" ]; then
|
||||
# Patch and test debug build
|
||||
./build.py avd_patch -s "$ramdisk" magisk_patched.img
|
||||
./build.py avd_patch "$ramdisk" magisk_patched.img
|
||||
kill -INT $emu_pid
|
||||
wait $emu_pid
|
||||
test_emu debug $api
|
||||
@ -154,7 +154,7 @@ test_main() {
|
||||
|
||||
if [ -z "$AVD_TEST_SKIP_RELEASE" ]; then
|
||||
# Patch and test release build
|
||||
./build.py -r avd_patch -s "$ramdisk" magisk_patched.img
|
||||
./build.py -r avd_patch "$ramdisk" magisk_patched.img
|
||||
kill -INT $emu_pid
|
||||
wait $emu_pid
|
||||
test_emu release $api
|
||||
|
Reference in New Issue
Block a user