Backed out changeset 33aa6e07a9d6 (bug 1384906) for failing marionette with "unterminated string litera" @testcases.py, line 316. r=backout
authorSebastian Hengst <archaeopteryx@coole-files.de>
Thu, 27 Jul 2017 19:53:05 +0200
changeset 422588 6025770ffa49e46b4d80b42f430530ebfa612a7a
parent 422587 4cc438fa220552a87fa3abb9dbfa2e9e99445cce
child 422589 36f1cb0b2adb23227c9abf7cd7ec50f28b9c3899
push id1517
push userjlorenzo@mozilla.com
push dateThu, 14 Sep 2017 16:50:54 +0000
treeherdermozilla-release@3b41fd564418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs1384906
milestone56.0a1
backs out33aa6e07a9d68e5ad2b71fe268f9ce11d0c5f1dd
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
Backed out changeset 33aa6e07a9d6 (bug 1384906) for failing marionette with "unterminated string litera" @testcases.py, line 316. r=backout
testing/marionette/harness/marionette_harness/marionette_test/testcases.py
--- a/testing/marionette/harness/marionette_harness/marionette_test/testcases.py
+++ b/testing/marionette/harness/marionette_harness/marionette_test/testcases.py
@@ -306,29 +306,29 @@ class MarionetteTestCase(CommonTestCase)
                                       methodName=testname,
                                       filepath=filepath,
                                       testvars=testvars,
                                       **kwargs))
 
     def setUp(self):
         super(MarionetteTestCase, self).setUp()
         self.marionette.test_name = self.test_name
-        self.marionette.execute_script("dump('TEST-START: {0}\n')"
+        self.marionette.execute_script("dump('TEST-START: {0}')"
                                        .format(self.test_name),
                                        sandbox="simpletest")
 
     def tearDown(self):
         # In the case no session is active (eg. the application was quit), start
         # a new session for clean-up steps.
         if not self.marionette.session:
             self.marionette.start_session()
 
         if not self.marionette.crashed:
             try:
-                self.marionette.execute_script("dump('TEST-END: {0}\n')"
+                self.marionette.execute_script("dump('TEST-END: {0}')"
                                                .format(self.test_name),
                                                sandbox="simpletest")
                 self.marionette.test_name = None
             except (MarionetteException, IOError):
                 # We have tried to log the test end when there is no listener
                 # object that we can access
                 pass