summaryrefslogtreecommitdiffstats
path: root/testing/xpcshell/runxpcshelltests.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-12 05:35:29 +0000
commit59203c63bb777a3bacec32fb8830fba33540e809 (patch)
tree58298e711c0ff0575818c30485b44a2f21bf28a0 /testing/xpcshell/runxpcshelltests.py
parentAdding upstream version 126.0.1. (diff)
downloadfirefox-59203c63bb777a3bacec32fb8830fba33540e809.tar.xz
firefox-59203c63bb777a3bacec32fb8830fba33540e809.zip
Adding upstream version 127.0.upstream/127.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/xpcshell/runxpcshelltests.py')
-rwxr-xr-xtesting/xpcshell/runxpcshelltests.py13
1 files changed, 10 insertions, 3 deletions
diff --git a/testing/xpcshell/runxpcshelltests.py b/testing/xpcshell/runxpcshelltests.py
index 2f1d26d715..4543309782 100755
--- a/testing/xpcshell/runxpcshelltests.py
+++ b/testing/xpcshell/runxpcshelltests.py
@@ -1573,9 +1573,8 @@ class XPCShellTests(object):
self.mozInfo["condprof"] = options.get("conditionedProfile", False)
- self.mozInfo["msix"] = options.get(
- "app_binary"
- ) is not None and "WindowsApps" in options.get("app_binary", "")
+ if options.get("variant", ""):
+ self.mozInfo["msix"] = options["variant"] == "msix"
self.mozInfo["is_ubuntu"] = "Ubuntu" in platform.version()
@@ -1786,6 +1785,14 @@ class XPCShellTests(object):
self.crashAsPass = options.get("crashAsPass")
self.conditionedProfile = options.get("conditionedProfile")
self.repeat = options.get("repeat", 0)
+ self.variant = options.get("variant", "")
+
+ if self.variant == "msix":
+ self.appPath = options.get("msixAppPath")
+ self.xrePath = options.get("msixXrePath")
+ self.app_binary = options.get("msix_app_binary")
+ self.threadCount = 2
+ self.xpcshell = None
self.testCount = 0
self.passCount = 0