mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 906081 - (1) Support remote os version in android xpcshell manifests; r=ted
This commit is contained in:
parent
4c1faddf9d
commit
54032ee72e
@ -13,6 +13,7 @@ from automationutils import replaceBackSlashes
|
||||
import devicemanagerADB, devicemanagerSUT, devicemanager
|
||||
from zipfile import ZipFile
|
||||
import shutil
|
||||
import mozinfo
|
||||
|
||||
here = os.path.dirname(os.path.abspath(__file__))
|
||||
|
||||
@ -542,6 +543,11 @@ def main():
|
||||
print >>sys.stderr, "Error: You must specify a test filename in interactive mode!"
|
||||
sys.exit(1)
|
||||
|
||||
# Add Android version (SDK level) to mozinfo so that manifest entries
|
||||
# can be conditional on android_version.
|
||||
androidVersion = dm.shellCheckOutput(['getprop', 'ro.build.version.sdk'])
|
||||
mozinfo.info['android_version'] = androidVersion
|
||||
|
||||
xpcsh = XPCShellRemote(dm, options, args)
|
||||
|
||||
# we don't run concurrent tests on mobile
|
||||
|
Loading…
Reference in New Issue
Block a user