From 8dd16259287f58f9273002717ec4d27e97127719 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 12 Jun 2024 07:43:14 +0200 Subject: Merging upstream version 127.0. Signed-off-by: Daniel Baumann --- testing/xpcshell/xpcshellcommandline.py | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'testing/xpcshell/xpcshellcommandline.py') diff --git a/testing/xpcshell/xpcshellcommandline.py b/testing/xpcshell/xpcshellcommandline.py index ba8bdf3eab..5b70dba3fd 100644 --- a/testing/xpcshell/xpcshellcommandline.py +++ b/testing/xpcshell/xpcshellcommandline.py @@ -22,6 +22,20 @@ def add_common_arguments(parser): default=None, help="application directory (as opposed to XRE directory)", ) + parser.add_argument( + "--msix-app-path", + type=str, + dest="msixAppPath", + default=None, + help="application directory for msix mode (as opposed to XRE directory)", + ) + parser.add_argument( + "--msix-app-binary", + type=str, + dest="msix_app_binary", + default=None, + help="path to application binary for msix mode (eg: c:\\program files\\mozilla firefox\\firefox.exe)", + ) parser.add_argument( "--interactive", action="store_true", @@ -142,6 +156,15 @@ def add_common_arguments(parser): default=None, help="absolute path to directory containing XRE (probably xulrunner)", ) + parser.add_argument( + "--msix-xre-path", + action="store", + type=str, + dest="msixXrePath", + # individual scripts will set a sane default + default=None, + help="absolute path to directory containing XRE in msix mode (probably xulrunner)", + ) parser.add_argument( "--symbols-path", action="store", @@ -247,6 +270,12 @@ def add_common_arguments(parser): "in parallel, the default is CPU x 1.5 when running via mach " "and CPU x 4 when running in automation", ) + parser.add_argument( + "--variant", + action="store", + default="", + help="use specified variant for any harness level changes.", + ) parser.add_argument( "--setpref", action="append", -- cgit v1.2.3