Bug 814805 - Do not use run-as for android xpcshell tests; r=wlach
authorGeoff Brown <gbrown@mozilla.com>
Tue, 18 Dec 2012 22:18:00 -0700
changeset 125608 f6d35a8b7dad7664d717e53e8a969e149ae4ec28
parent 125607 b063173f6cfafa79311cf1017db7599a21e91b16
child 125609 f9e5c189ae6bb96424ee9a243c5238c747951810
push id2151
push userlsblakk@mozilla.com
push dateTue, 19 Feb 2013 18:06:57 +0000
treeherdermozilla-beta@4952e88741ec [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswlach
bugs814805
milestone20.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 814805 - Do not use run-as for android xpcshell tests; r=wlach
testing/xpcshell/remotexpcshelltests.py
--- a/testing/xpcshell/remotexpcshelltests.py
+++ b/testing/xpcshell/remotexpcshelltests.py
@@ -430,19 +430,19 @@ def main():
 
     if len(args) < 1 and options.manifest is None:
       print >>sys.stderr, """Usage: %s <test dirs>
            or: %s --manifest=test.manifest """ % (sys.argv[0], sys.argv[0])
       sys.exit(1)
 
     if (options.dm_trans == "adb"):
       if (options.deviceIP):
-        dm = devicemanagerADB.DeviceManagerADB(options.deviceIP, options.devicePort)
+        dm = devicemanagerADB.DeviceManagerADB(options.deviceIP, options.devicePort, packageName=None)
       else:
-        dm = devicemanagerADB.DeviceManagerADB()
+        dm = devicemanagerADB.DeviceManagerADB(packageName=None)
     else:
       dm = devicemanagerSUT.DeviceManagerSUT(options.deviceIP, options.devicePort)
       if (options.deviceIP == None):
         print "Error: you must provide a device IP to connect to via the --device option"
         sys.exit(1)
 
     if options.interactive and not options.testPath:
       print >>sys.stderr, "Error: You must specify a test filename in interactive mode!"