Switch over to ANDROID_HOME

Keep ANDROID_SDK_ROOT as a fallback
This commit is contained in:
topjohnwu
2024-07-21 00:53:13 -07:00
parent 33cb39c8af
commit b26db8cee6
5 changed files with 27 additions and 18 deletions

View File

@ -1,5 +1,8 @@
#!/usr/bin/env bash
set -xe
. scripts/test_common.sh
cvd_args='-daemon -enable_sandbox=false -memory_mb=8192 -report_anonymous_usage_stats=n'
magisk_args='-init_boot_image=magisk_patched.img'
@ -96,9 +99,6 @@ run_test() {
rm -f magisk_patched.img*
}
set -xe
. scripts/test_common.sh
if [ -z $CF_HOME ]; then
print_error "! Environment variable CF_HOME is required"
exit 1