summaryrefslogtreecommitdiff
path: root/emu_test/test_console/run_adb_shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'emu_test/test_console/run_adb_shell.py')
-rw-r--r--emu_test/test_console/run_adb_shell.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/emu_test/test_console/run_adb_shell.py b/emu_test/test_console/run_adb_shell.py
index 00d32405..48d562c5 100644
--- a/emu_test/test_console/run_adb_shell.py
+++ b/emu_test/test_console/run_adb_shell.py
@@ -6,8 +6,7 @@ import time
from utils import util
-main_apk_package = 'com.android.devtools.server'
-launcher_class_name = '%s.Server' % main_apk_package
+launcher_class_name = '%s.Server' % util.MAIN_APK_PACKAGE
instrumentation_runner = 'android.support.test.runner.AndroidJUnitRunner'
num_trials = 1
@@ -21,7 +20,7 @@ while True:
'-w', '-e' 'class',
launcher_class_name,
('%s.test/%s'
- % (main_apk_package,
+ % (util.MAIN_APK_PACKAGE,
instrumentation_runner))])
break
except subprocess.CalledProcessError as err: