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 464404 1391a8e0183535b6f56586c844d2bbcc543e8237
parent 464403 4b6ece1be5c2d4a095c42cf76bdc42120f0da872
child 464405 19ec728351acee967f424397f9f3e1b11e11c0f3
push id35716
push useraciure@mozilla.com
push dateSun, 17 Mar 2019 09:42:17 +0000
treeherdermozilla-central@8ee97c045359 [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)