diff --git a/testing/xpcshell/selftest.py b/testing/xpcshell/selftest.py index 2e4e288d2f88..b8d332c9b14b 100644 --- a/testing/xpcshell/selftest.py +++ b/testing/xpcshell/selftest.py @@ -6,6 +6,8 @@ from __future__ import with_statement import sys, os, unittest, tempfile, shutil +import mozinfo + from StringIO import StringIO from xml.etree.ElementTree import ElementTree @@ -14,6 +16,8 @@ build_obj = MozbuildObject.from_environment() from runxpcshelltests import XPCShellTests +mozinfo.find_and_update_from_json() + objdir = build_obj.topobjdir.encode("utf-8") xpcshellBin = os.path.join(objdir, "dist", "bin", "xpcshell") if sys.platform == "win32": @@ -272,7 +276,7 @@ tail = self.assertEquals(expected, self.x.runTests(xpcshellBin, manifest=self.manifest, - mozInfo={}, + mozInfo=mozinfo.info, shuffle=shuffle, testsRootDir=self.tempdir, verbose=verbose,