зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1527316 - Setup MOZ_NODE_PATH as part of bootstrapping r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D24301 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
a3d2acd50b
Коммит
61469f926e
|
@ -1098,6 +1098,8 @@ class XPCShellTests(object):
|
|||
# We try to find the node executable in the path given to us by the user in
|
||||
# the MOZ_NODE_PATH environment variable
|
||||
nodeBin = os.getenv('MOZ_NODE_PATH', None)
|
||||
if not nodeBin and build:
|
||||
nodeBin = build.substs.get('NODEJS')
|
||||
if not nodeBin:
|
||||
self.log.warning('MOZ_NODE_PATH environment variable not set. '
|
||||
'Tests requiring http/2 will fail.')
|
||||
|
|
|
@ -471,6 +471,7 @@ class XPCShellTestsTests(unittest.TestCase):
|
|||
|
||||
def tearDown(self):
|
||||
shutil.rmtree(self.tempdir)
|
||||
self.x.shutdownNode()
|
||||
|
||||
def writeFile(self, name, contents):
|
||||
"""
|
||||
|
|
Загрузка…
Ссылка в новой задаче