Bug 1535649 - [marionette] Fix check for Fennec if app argument doesn't exist. r=ato
authorHenrik Skupin <mail@hskupin.info>
Fri, 15 Mar 2019 16:12:47 +0000
changeset 522077 1391a8e0183535b6f56586c844d2bbcc543e8237
parent 522076 4b6ece1be5c2d4a095c42cf76bdc42120f0da872
child 522078 19ec728351acee967f424397f9f3e1b11e11c0f3
push id10871
push usercbrindusan@mozilla.com
push dateMon, 18 Mar 2019 15:49:32 +0000
treeherdermozilla-beta@018abdd16060 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersato
bugs1535649
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1535649 - [marionette] Fix check for Fennec if app argument doesn't exist. r=ato It's just "fennec" we have to compare with. So no need for an included check. Differential Revision: https://phabricator.services.mozilla.com/D23693
testing/marionette/mach_commands.py
--- a/testing/marionette/mach_commands.py
+++ b/testing/marionette/mach_commands.py
@@ -74,15 +74,15 @@ class MarionetteTest(MachCommandBase):
     def marionette_test(self, tests, **kwargs):
         if "test_objects" in kwargs:
             tests = []
             for obj in kwargs["test_objects"]:
                 tests.append(obj["file_relpath"])
             del kwargs["test_objects"]
 
         # Force disable e10s because it is not supported in Fennec
-        if "fennec" in kwargs.get("app"):
+        if kwargs.get("app") == "fennec":
             kwargs["e10s"] = False
 
         if not kwargs.get("binary") and conditions.is_firefox(self):
             kwargs["binary"] = self.get_binary_path("app")
 
         return run_marionette(tests, topsrcdir=self.topsrcdir, **kwargs)