mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-07 13:41:24 +00:00
android device: update android_prompt so that it works even if is not /
This commit is contained in:
parent
d6cebc46ce
commit
b712dddfc0
@ -46,7 +46,7 @@ class AndroidDevice(BaseLinuxDevice): # pylint: disable=W0223
|
|||||||
parameters = [
|
parameters = [
|
||||||
Parameter('adb_name',
|
Parameter('adb_name',
|
||||||
description='The unique ID of the device as output by "adb devices".'),
|
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.'),
|
description='The format of matching the shell prompt in Android.'),
|
||||||
Parameter('working_directory', default='/sdcard/wa-working',
|
Parameter('working_directory', default='/sdcard/wa-working',
|
||||||
description='Directory that will be used WA on the device for output files etc.'),
|
description='Directory that will be used WA on the device for output files etc.'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user