Ed Morley
1bcac7940e
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-10-06 20:30:35 +01:00
Andrew Halberstadt
1f19f8c07e
Bug 797177 - Fix missed calls to checkCmd within B2G automation, r=mikeh; DONTBUILD because NPOTB
2012-10-05 16:06:02 -04:00
Ed Morley
4ef3ea11bf
Bug 798419 - Fix incorrect spellings of success(ful) in test output; r=me
2012-10-05 17:48:15 +01:00
William Lachance
c5f092dab4
Bug 795496 - Make mozdevice raise exceptions on error;r=ahal,jmaher
...
It turns out that relying on the user to check return codes for every
command was non-intuitive and resulted in many hard to trace bugs.
Now most functinos just return "None", and raise a DMError when there's an
exception. The exception to this are functions like dirExists, which now return
booleans, and throw exceptions on error. This is a fairly major refactor,
and also involved the following internal changes:
* Removed FileError and AgentError exceptions, replaced with DMError
(having to manage three different types of exceptions was confusing,
all the more so when we're raising them)
* Docstrings updated to remove references to return values where no
longer relevant
* pushFile no longer will create a directory to accomodate the file
if it doesn't exist (this makes it consistent with devicemanagerADB)
* dmSUT we validate the file, but assume that we get something back
from the agent, instead of falling back to manual validation in the
case that we didn't
* isDir and dirExists had the same intention, but different
implementations for dmSUT. Replaced the dmSUT impl of getDirectory
with that of isDir's (which was much simpler). Removed
isDir from devicemanager.py, since it wasn't used externally
* killProcess modified to check for process existence before running
(since the actual internal kill command will throw an exception
if the process doesn't exist)
In addition to all this, more unit tests have been added to test these
changes for devicemanagerSUT.
2012-10-04 11:28:07 -04:00
David Chan
e537e59ad4
Bug 797177 - Unbreak b2g mochitests, r=ahal
2012-10-02 15:43:19 -07:00
Jonathan Griffin
d1923e5084
Bug 793213 - Disable offline mode for b2g mochitest/reftest, r=ahal, DONTBUILD because NPOTB
2012-09-21 15:20:39 -07:00
Vladimir Vukicevic
3a82a1c16e
b=790041; add mDNS broadcasts to SUTAgent; r=ctalbert
2012-09-14 09:29:51 -04:00
Kartikaya Gupta
49a83a548e
Bug 767449 - Allow robotium tests to put files in places other than /mnt/sdcard. r=jmaher
2012-09-12 07:56:31 -04:00
William Lachance
cca13f1816
Bug 723107 - Re-add mozdevice to testing/mozbase, remove duplicate files in build/mobile;r=jmaher
2012-09-07 16:00:31 -04:00
William Lachance
dc3866e12a
Bug 789458 - Restore watcher service if it comes back with a null intent;r=jmaher, a=test-only
...
This could happen if the watcher gets killed due to memory pressure on
Android
2012-09-07 12:00:52 -04:00
Joel Maher
cdbc9ea15d
Bug 789213 - Delay SUTAgent "ready" until the SDCard is ready. r=wlach
2012-09-07 10:21:23 -04:00
William Lachance
59653b5940
Bug 786427 - Agent should quote with ' characters, not just " characters;r=jmaher
2012-08-30 15:05:18 -04:00
William Lachance
4e57012935
Bug 786425 - Always log debug messages to logcat, even if file logging disable;r=jmaher
2012-08-30 14:51:16 -04:00
William Lachance
f961c73c84
Bug 763497 - Add option to agent (and code to devicemanager) to allow executing commands as root;r=jmaher
2012-08-30 14:43:17 -04:00
Geoff Brown
2cf0bd61a5
Bug 787061 - Robocop: dump stack traces on event timeout; r=jmaher
2012-08-30 08:50:16 -06:00
Kartikaya Gupta
8cd589516b
Bug 783758 - Add a close function on the PaintedSurface class to clean up the opened FileInputStream, and invoke it from tests. r=jmaher
2012-08-27 13:44:58 -04:00
Joel Maher
9f2c0054eb
Bug 785238 - Should catch AgentError inside devicemanagerSUT's getInfo. r=wlach
2012-08-24 09:53:27 -04:00
William Lachance
b28692bf7a
Bug 785108 - Fix devicemanagerADB's isDir to handle symbolic links properly;r=jmaher DONTBUILD
2012-08-23 15:56:18 -04:00
Malini Das
0cc15146bd
Bug 755856 - look for adb in path first for mozdevice emulator automation, r=jgriffin
2012-08-23 15:46:48 -04:00
Joel Maher
87cfe706d3
Bug 782396 - Should be able to disable logging behaviour of SUTAgent (and that should be the default). r=gbrown DONTBUILD
2012-08-17 12:27:23 -04:00
Andrew Halberstadt
170dc14d55
Bug 782655 - Enable remote xul for B2G reftests, r=jgriffin
2012-08-15 15:26:31 -04:00
Malini Das
f158ad377a
Bug 782749 - add timeouts for shell/checkCmd to devicemanagerADB, r=jmaher
2012-08-15 10:35:21 -04:00
William Lachance
85ef3ca80d
Bug 782382 - Fix syntax error in devicemanagerSUT;r=jmaher
2012-08-14 11:26:13 -04:00
Dominik Oepen
822e64b426
Bug 774293 - Fix issues in devicemanager revealed by pyflakes;r=wlach
2012-08-14 10:41:11 -04:00
Kartikaya Gupta
8c39cc3b65
Bug 780650 - Clean up dynamic dependencies from robocop on fennec. r=cpeterson
2012-08-14 08:55:58 -04:00
Kartikaya Gupta
a70aaff212
Bug 782183 - Add some code to the robocop harness to dump all stack traces in case of hanging/deadlock. r=gbrown
2012-08-13 12:03:00 -04:00
Geoff Brown
123619eb02
Bug 764901 - Robocop: make testPasswordEncrypt more robust; r=jmaher
2012-08-10 15:59:12 -06:00
Andrew Halberstadt
7c1ba0c892
Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin
2012-08-10 14:25:20 -04:00
Justin Wood
83b35d2227
Bug 781735 - SUTAgent should not die if it can't create a file on the sdcard. r=jmaher DONTBUILD since its NPOT-on-change-Builds
...
--HG--
extra : rebase_source : 6f8ca4d47f273a960f06331dda0edbe692640df3
2012-08-10 01:03:55 -04:00
Chris Peterson
ebea01b579
Bug 778468 - Part 10: Make all event registration go through EventDispatcher. r=blassey
2012-08-02 18:38:45 -07:00
Ryan VanderMeulen
68f96f1fc4
Merge m-c to inbound.
2012-08-09 15:13:12 -04:00
Jonathan Griffin
ceadbaea38
Bug 781608 - Don't call waitForFinish with a short timeout, in case old mozprocess is still in use, a=test-only, DONTBUILD because NPOTB
2012-08-09 12:04:28 -07:00
David Clarke
b21f658491
Bug 780031 - Mochitest on b2g reliability improvements, r=jgriffin, DONTBUILD because NPOTB
2012-08-08 17:29:26 -07:00
Geoff Brown
a6e330ccc0
Bug 779250: Make Robocop tests run faster; r=jmaher
2012-08-08 08:25:27 -06:00
Geoff Brown
bdb85c6387
Bug 727152 - Robocop: improve shutdown of mAsserter; r=jmaher
2012-08-09 07:06:19 -06:00
Mark Cote
3adf335823
Bug 777331 Clarified some comments in devicemanager. r=wlach
...
--HG--
extra : rebase_source : 4a448dedbf028fff07882a5f257770e5063af9d9
2012-08-02 14:45:26 -04:00
Chris Peterson
ad6b36600a
Bug 778468 - Part 7: Move GeckoEventListener to org.mozilla.gecko.util package. r=blassey
...
--HG--
extra : rebase_source : d0b2982b64126c046c5c974c7ec014992bef63b7
2012-08-02 17:13:40 -07:00
Ryan VanderMeulen
0726b1fe02
Merge m-c to inbound.
2012-08-06 20:26:58 -04:00
Tim Taubert
21457aa76f
Bug 780641 - Unbreak b2g mochitests, r=jgriffin, DONTBUILD because NPOTB
2012-08-06 11:37:59 -07:00
mbalaur@mozilla.com
e229e14948
Bug 778363 - dmSUT - retVal can be None;r=jhammel
...
--HG--
extra : rebase_source : a272bf08a0003a29cac4e4d79d89f445f6a42c79
2012-08-06 11:39:39 -07:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
81fe0db761
Merge mozilla-central and fx-team
2012-08-03 15:52:55 +01:00
Tim Taubert
35294c0950
Bug 728294 - Part 1 - Remove old debug log parser; r=ted
2012-08-03 12:36:59 +02:00
Ryan VanderMeulen
f159f08b5f
Merge m-c to inbound.
2012-08-02 17:17:28 -04:00
Jonathan Griffin
eceb527930
Bug 777871 - Get mochitests running OOP in B2G, r=jlebar, DONTBUILD because NPOTB
2012-08-02 13:30:25 -07:00
Mihnea Dobrescu-Balaur
91aac3aa4e
Bug 778329 Fix and improve DeviceManagerSUT.unpackFile(). r=mcote
...
--HG--
extra : rebase_source : 7354a74a68538da45e515476e3fe49f50a50b562
2012-08-01 11:50:05 -04:00
William Lachance
21725a020f
Bug 779871 - Default behaviour of watcher should be not to do connectivity ping at all;r=jmaher
2012-08-02 14:27:23 -04:00
Mark Cote
d74638cf35
Bug 777331 DeviceManagerSUT support for info uptimemillis. r=wlach
2012-08-02 14:21:00 -04:00
Matt Brubeck
70e7a18751
Back out c0a09f9d5215 (bug 778230) because of Android build failures
2012-08-01 11:51:27 -07:00
Nathan Froyd
6a9c0f8ab7
Bug 778230 - remove wildcard calls from robocop's Makefile.in; r=glandium,f=mfinkle
2012-07-27 14:45:29 -04:00