Cleanup test code

This commit is contained in:
topjohnwu
2024-12-25 04:50:08 -08:00
committed by John Wu
parent 9e2b59060d
commit 231a5d1853
5 changed files with 46 additions and 58 deletions

View File

@ -59,9 +59,10 @@ run_setup() {
}
run_tests() {
local self='com.topjohnwu.magisk.test/com.topjohnwu.magisk.test.TestRunner'
local app='com.topjohnwu.magisk.test/com.topjohnwu.magisk.test.AppTestRunner'
local stub='repackaged.com.topjohnwu.magisk.test/com.topjohnwu.magisk.test.AppTestRunner'
local pkg='com.topjohnwu.magisk.test'
local self="$pkg/$pkg.TestRunner"
local app="$pkg/$pkg.AppTestRunner"
local stub="repackaged.$pkg/$pkg.AppTestRunner"
# Run app tests
am_instrument '.MagiskAppTest,.AdditionalTest' $app