mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 698113: copy libmozutils.so to device during remote xpcshell setup; r=jmaher
This commit is contained in:
parent
210550d488
commit
6f971ed723
@ -125,6 +125,14 @@ class XPCShellRemote(xpcshell.XPCShellTests, object):
|
||||
if (file.endswith(".so")):
|
||||
self.device.pushFile(os.path.join(localLib, file), self.remoteBinDir)
|
||||
|
||||
# Additional libraries may be found in a sub-directory such as "lib/armeabi-v7a"
|
||||
localArmLib = os.path.join(localLib, "lib")
|
||||
if os.path.exists(localArmLib):
|
||||
for root, dirs, files in os.walk(localArmLib):
|
||||
for file in files:
|
||||
if (file.endswith(".so")):
|
||||
self.device.pushFile(os.path.join(root, file), self.remoteBinDir)
|
||||
|
||||
def setupTestDir(self):
|
||||
xpcDir = os.path.join(self.options.objdir, "_tests/xpcshell")
|
||||
self.device.pushDir(xpcDir, self.remoteScriptsDir)
|
||||
|
Loading…
Reference in New Issue
Block a user