Граф коммитов

28 Коммитов

Автор SHA1 Сообщение Дата
William Lachance 0bd9276583 Bug 805116 - Print more of the logcat in mobile tests;r=gbrown 2012-11-12 13:57:13 -08:00
Ed Morley 28935a84bf Bug 808419 - remoteautomation.py's waitForFinish() should print to the log when maxTime is reached; r=jmaher 2012-11-05 13:03:55 +00:00
Ed Morley 11ec75bdd6 Bug 757838 - Make remoteautomation.py set lastTestSeen so Android crashes are output with the test filename; r=jmaher 2012-11-02 18:57:50 +00:00
Ed Morley 29ee6e6f9e Bug 757838 - Misc remoteautomation.py cleanup; r=jmaher 2012-11-02 18:57:50 +00:00
William Lachance b9a0562599 Bug 756440 - Only try to download crash directory on device if it exists;r=jmaher
Under normal circumstances this should be created automatically inside the
profile directory when we first start, but this won't happen if we fail
to start properly altogether. If that's the case, we've got other problems
that will be reported as errors. Let's just print a warning so we don't
misdiagnose the problem under those circumstances.
2012-10-15 10:15:15 -04: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
Dominik Oepen 822e64b426 Bug 774293 - Fix issues in devicemanager revealed by pyflakes;r=wlach 2012-08-14 10:41:11 -04:00
Geoff Brown a6e330ccc0 Bug 779250: Make Robocop tests run faster; r=jmaher 2012-08-08 08:25:27 -06:00
Tim Taubert 35294c0950 Bug 728294 - Part 1 - Remove old debug log parser; r=ted 2012-08-03 12:36:59 +02:00
Geoff Brown 794d5f6f45 Bug 774322 - use correct process name in RProcess; r=jmaher 2012-07-17 08:58:47 -06:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Geoff Brown cea75fcb4e Bug 705192: allow remotexpcshelltests.py to execute xpcshell via SUT agent; r=jmaher 2012-02-28 12:20:56 -05:00
Tim Taubert 36195c1648 Bug 683953 - Follow up, add logger argument for mobile automation to fix Android bustage; r=bustage-fix 2012-02-26 20:35:09 +01:00
Joel Maher ffbae193d3 Bug 717725 - sutagent 'exec' waits for 'am instrument...' command to finish instead of letting it run in the background. r=gbrown 2012-01-14 08:24:17 -05:00
Joel Maher fb177d4678 Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 18:41:08 -05:00
Ed Morley bc6bc81bd0 Backout 8ec01f6f316f (bug 705175), a1dc0efef542 (bug 716077), b5686f25b258 (bug 710445), 32f8d3be2ad1 (bug 715309) for mochitest/reftest failures on Android & Windows 2012-01-07 14:57:58 +00:00
Joel Maher c220fd6332 Bug 715309 - robocop needs to have a more uniform log format. r=gbrown 2012-01-07 08:25:05 -05:00
Joel Maher ac86b93435 Bug 691425 - allow for reftest/mochitest android crashes to be dumped in the logs just like desktop crashes. r=ctalbert 2011-10-06 10:51:03 -04:00
Cameron McCormack 3eafd18eb4 Bug 479352 - Hide mochitest results table if MOZ_HIDE_RESULTS_TABLE=1 is set. (v4) r=jmaher, a=testonly 2011-07-26 16:13:20 -07:00
Joel Maher 56c455ad08 Bug 636534 - support incremental log output from remote testing harnesses. r=ctalbert, a=NPOTB 2011-02-26 13:19:55 -05:00
Joel Maher 33f1772d43 Bug 636450 - add a --host-os option for remote testing scripts. r=ctalbert, a=NPOTB 2011-02-24 14:45:42 -05:00
Clint Talbert 655e9599c7 Bug 624001 Update android devicemanager with better error handling r=jmaher,mcote a=NPOTB 2011-01-13 12:00:23 -06:00
Joel Maher c6c83c3b2b Bug 617815 - Enable the use of envrionment variables for remote automation on android r=ctalbert a=NPOTB 2010-12-16 15:28:35 -08:00
Clint Talbert 9cac79f9b1 Bug 611348 - adding functionality to devicemanager.py to handle slave rebooting r=jmaher a=NPOTB 2010-11-18 13:03:44 -08:00
Joel Maher 14ecea9259 Bug 595294 Remotereftest should not assume process.txt exists when using a log file r=ctalbert a=NPOTB 2010-09-17 17:18:06 -07:00
Clint Talbert 65a508d873 Bug 580418 Fix remote reftests to start their own httpd.js webserver r=jmaher 2010-07-26 18:43:34 -07:00
Jesse Ruderman cc75858eb7 Bug 570287 - New stack fixer that uses breakpad symbol files. r=ted 2010-06-25 14:47:19 -07:00
Clint Talbert ce2826b7ed Bug 573263 - Refactor remote reftest to work on android, create shared remoteautomation class r=jmaher 2010-06-24 02:32:01 -07:00