mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1237465 - Work around Android 5.1+ permission restrictions by changing pushed directory permissions to rwx, r=gbrown.
This commit is contained in:
parent
5c134cb8f7
commit
a3c334a59f
@ -272,6 +272,7 @@ class RemoteReftest(RefTest):
|
||||
|
||||
try:
|
||||
self._devicemanager.pushDir(profileDir, options.remoteProfile)
|
||||
self._devicemanager.chmodDir(options.remoteProfile)
|
||||
except devicemanager.DMError:
|
||||
print "Automation Error: Failed to copy profiledir to device"
|
||||
raise
|
||||
@ -283,6 +284,7 @@ class RemoteReftest(RefTest):
|
||||
RefTest.copyExtraFilesToProfile(self, options, profile)
|
||||
try:
|
||||
self._devicemanager.pushDir(profileDir, options.remoteProfile)
|
||||
self._devicemanager.chmodDir(options.remoteProfile)
|
||||
except devicemanager.DMError:
|
||||
print "Automation Error: Failed to copy extra files to device"
|
||||
raise
|
||||
|
@ -169,6 +169,7 @@ class MochiRemote(MochitestDesktop):
|
||||
if options.testingModulesDir:
|
||||
try:
|
||||
self._dm.pushDir(options.testingModulesDir, self.remoteModulesDir)
|
||||
self._dm.chmodDir(self.remoteModulesDir)
|
||||
except devicemanager.DMError:
|
||||
self.log.error(
|
||||
"Automation Error: Unable to copy test modules to device.")
|
||||
@ -185,6 +186,7 @@ class MochiRemote(MochitestDesktop):
|
||||
|
||||
try:
|
||||
self._dm.pushDir(options.profilePath, self.remoteProfile)
|
||||
self._dm.chmodDir(self.remoteProfile)
|
||||
except devicemanager.DMError:
|
||||
self.log.error(
|
||||
"Automation Error: Unable to copy profile to device.")
|
||||
@ -205,6 +207,7 @@ class MochiRemote(MochitestDesktop):
|
||||
# we really need testConfig.js (for browser chrome)
|
||||
try:
|
||||
self._dm.pushDir(options.profilePath, self.remoteProfile)
|
||||
self._dm.chmodDir(self.remoteProfile)
|
||||
except devicemanager.DMError:
|
||||
self.log.error(
|
||||
"Automation Error: Unable to copy profile to device.")
|
||||
|
Loading…
Reference in New Issue
Block a user