Bug 746260 - disable the screen resolution changing on android for jsreftest and crashtest, leave it on for reftest. r=armenzg
authorJoel Maher <jmaher@mozilla.com>
Fri, 11 May 2012 10:30:32 -0400
changeset 2317 e0c0fd23f72ad0cbd776aa157e6bd556a97d4e9f
parent 2312 d23f02c7e8eb5f88a839a1355b05465a0c0cfff6
child 2318 e4b03d286da21f3ffdcee1fcfa1d17c5d5445c4a
child 2321 5ecf7eb36c29dbc5357f6a81d84003318bbe3cd8
push id1752
push userarmenzg@mozilla.com
push dateFri, 11 May 2012 14:31:41 +0000
reviewersarmenzg
bugs746260
Bug 746260 - disable the screen resolution changing on android for jsreftest and crashtest, leave it on for reftest. r=armenzg
steps/unittest.py
--- a/steps/unittest.py
+++ b/steps/unittest.py
@@ -958,16 +958,19 @@ class RemoteReftestStep(ReftestMixin, Ch
                         '--xre-path', xrePath,
                         '--utility-path', utilityPath,
                         '--app', app,
                         '--http-port', WithProperties('%(http_port)s'),
                         '--ssl-port', WithProperties('%(ssl_port)s'),
                         '--pidfile', WithProperties('%(basedir)s/../remotereftest.pid'),
                         '--enable-privilege'
                        ]
+        if suite == 'jsreftest' or suite == 'crashtest':
+            self.command.append('--ignore-window-size')
+
         if cmdOptions:
           self.command.extend(cmdOptions)
         self.command.extend(self.getChunkOptions(totalChunks, thisChunk))
         self.command.extend(self.getSuiteOptions(suite))
 
         if symbols_path:
             self.command.append(WithProperties("--symbols-path=%s" % symbols_path))