~ubuntu-branches/ubuntu/quantal/lightning-extension/quantal-security

« back to all changes in this revision

Viewing changes to mozilla/build/mobile/remoteautomation.py

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-01-12 15:28:46 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20120112152846-ib27rzd0zldftoql
Tags: 1.2~b1+build1-0ubuntu1
* New upstream release from the beta channel (CALENDAR_1_2b1_BUILD1)
* Refresh debian/patches/01_no_sunbird.patch
* Bump maxVersion for lightning to 10.*, but drop changes to non-binary
  addons (gdata-provider / timezones) as these aren't needed anymore
  - update debian/patches/03_maxversion_override.patch
* Add some additional mailnews makefiles to the tarball, to make the build
  system not sad anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
import sys
41
41
import os
42
42
import socket
 
43
import automationutils
 
44
import tempfile
 
45
import shutil
43
46
 
44
47
from automation import Automation
45
48
from devicemanager import DeviceManager, NetworkTools
105
108
 
106
109
        return status
107
110
 
 
111
    def checkForCrashes(self, directory, symbolsPath):
 
112
        dumpDir = tempfile.mkdtemp()
 
113
        self._devicemanager.getDirectory(self._remoteProfile + '/minidumps/', dumpDir)
 
114
        automationutils.checkForCrashes(dumpDir, symbolsPath, self.lastTestSeen)
 
115
        try:
 
116
          shutil.rmtree(dumpDir)
 
117
        except:
 
118
          print "WARNING: unable to remove directory: %s" % (dumpDir)
 
119
 
108
120
    def buildCommandLine(self, app, debuggerInfo, profileDir, testURL, extraArgs):
109
121
        # If remote profile is specified, use that instead
110
122
        if (self._remoteProfile):