зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1499915 - Use elfhack from the build for Android xpcshell tests r=froydnj
Android xpcshell tests run `elfhack -r`, and do so by using an elfhack binary from an archive downloaded via tooltool (which contains other things). Instead, we just put the elfhack binary in the target.common.tests.tar.gz archive, and make the xpcshell harness use it from there instead, allowing to pick in-tree changes to elfhack. Depends on D9623 Differential Revision: https://phabricator.services.mozilla.com/D9624 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
0cf2b93ff2
Коммит
6a291ffed1
|
@ -303,7 +303,15 @@ ARCHIVE_FILES = {
|
|||
'base': 'build/pgo/certs',
|
||||
'pattern': '**',
|
||||
'dest': 'certs',
|
||||
}
|
||||
},
|
||||
{
|
||||
'source': buildconfig.topobjdir,
|
||||
'base': 'build/unix/elfhack',
|
||||
'patterns': [
|
||||
'elfhack%s' % buildconfig.substs['BIN_SUFFIX'],
|
||||
],
|
||||
'dest': 'bin',
|
||||
},
|
||||
],
|
||||
'cppunittest': [
|
||||
{
|
||||
|
|
|
@ -430,12 +430,9 @@ class XPCShellRemote(xpcshell.XPCShellTests, object):
|
|||
self.pushLibs()
|
||||
|
||||
def pushLibs(self):
|
||||
elfhack = None
|
||||
xrePath = self.options.get('xrePath')
|
||||
if xrePath:
|
||||
elfhack = os.path.join(xrePath, 'elfhack')
|
||||
if not os.path.exists(elfhack):
|
||||
elfhack = None
|
||||
elfhack = os.path.join(self.localBin, 'elfhack')
|
||||
if not os.path.exists(elfhack):
|
||||
elfhack = None
|
||||
pushed_libs_count = 0
|
||||
if self.options['localAPK']:
|
||||
try:
|
||||
|
|
Загрузка…
Ссылка в новой задаче