1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-31 10:11:17 +00:00

android device: update android_prompt so that it works even if is not /

This commit is contained in:
Sergei Trofimov 2015-06-26 16:25:44 +01:00
parent d6cebc46ce
commit b712dddfc0

View File

@ -46,7 +46,7 @@ class AndroidDevice(BaseLinuxDevice): # pylint: disable=W0223
parameters = [
Parameter('adb_name',
description='The unique ID of the device as output by "adb devices".'),
Parameter('android_prompt', kind=regex, default=re.compile('^.*(shell|root)@.*:/ [#$] ', re.MULTILINE),
Parameter('android_prompt', kind=regex, default=re.compile('^.*(shell|root)@.*:/\S* [#$] ', re.MULTILINE),
description='The format of matching the shell prompt in Android.'),
Parameter('working_directory', default='/sdcard/wa-working',
description='Directory that will be used WA on the device for output files etc.'),