зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1699241 - support appleSilicon as a keyword in reftest manifests r=ahal
support appleSilicon as a keyword in reftest manifests Differential Revision: https://phabricator.services.mozilla.com/D108837
This commit is contained in:
Родитель
1c9b8bb425
Коммит
9547663454
|
@ -576,6 +576,8 @@ function BuildConditionSandbox(aURL) {
|
|||
var osxmatch = /Mac OS X (\d+).(\d+)$/.exec(hh.oscpu);
|
||||
sandbox.OSX = osxmatch ? parseInt(osxmatch[1]) * 100 + parseInt(osxmatch[2]) : undefined;
|
||||
|
||||
// config specific prefs
|
||||
sandbox.appleSilicon = prefs.getBoolPref("sandbox.apple_silicon", false);
|
||||
// Plugins are no longer supported. Don't try to use TestPlugin.
|
||||
sandbox.haveTestPlugin = false;
|
||||
|
||||
|
|
|
@ -464,6 +464,9 @@ class RefTest(object):
|
|||
prefs["widget.disable-dark-scrollbar"] = True
|
||||
prefs["reftest.isCoverageBuild"] = mozinfo.info.get("ccov", False)
|
||||
|
||||
# config specific flags
|
||||
prefs["sandbox.apple_silicon"] = mozinfo.info.get("apple_silicon", False)
|
||||
|
||||
# Set tests to run or manifests to parse.
|
||||
if tests:
|
||||
testlist = os.path.join(profile.profile, "reftests.json")
|
||||
|
|
Загрузка…
Ссылка в новой задаче