Commit Graph

27 Commits

Author SHA1 Message Date
Geoff Brown
cd7cd9eed7 Bug 882932 - Add -httpd-path option to mochitests and reftests; r=jmaher 2013-06-26 20:42:46 -07:00
Andrew Halberstadt
747f8a70f6 Bug 843296 - check for crashes in b2g emulator unittests during failures in marionette start up, r=jgriffin 2013-03-26 09:50:00 -04:00
Andrew Halberstadt
8dbd5b7393 Bug 853558 - Don't use copied over devicemanager files in b2g unittests, r=jgriffin 2013-03-22 16:48:04 -04:00
Jonathan Griffin
f191a5aa50 Bug 851374 - Don't use _useDDCopy, r=ahal 2013-03-14 17:44:05 -07:00
William Lachance
0ba1d9d5d0 Bug 842668 - Should always use dd instead of cp in b2g reftest/mochitest;r=ahal 2013-02-21 15:44:24 -05:00
Jonathan Griffin
296c5c2ad5 Bug 826135 - Throw if --utility-path points to ARM version of xpcshell, r=ahal 2013-01-03 17:37:26 -08:00
Jonathan Griffin
3709b75b06 Bug 820463 - Remove loadearly code from test runners, r=ahal 2013-01-17 12:18:37 -08:00
Andrew Halberstadt
3a19a47088 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Andrew Halberstadt
0dc82f61d7 Bug 812012 - (Part 1) Add busybox arg to b2g reftest/mochitest harnesses, r=jgriffin, DONTBUILD a=NPOTB,test-only 2013-01-07 10:29:43 -05:00
Theo Chevalier
6b249e6652 Bug 825464 - Skip any revision of TELEMETRY_DISPLAY_REV in tests & WebApp (long term fix). r=mak 2013-01-02 16:31:10 +01:00
Geoff Brown
fa7435e42c Bug 810347 - Provide option for setting remote test root; r=jmaher 2012-12-20 09:11:11 -07:00
Theo Chevalier
05d9dee167 Bug 737596 - Enable Telemetry by default on Nightly and Aurora channels (mobile). r=bnicholson 2012-12-10 23:25:50 +01:00
Jonathan Griffin
4c8faceb12 Bug 815807 - Part 3: Load marionette early in the B2G startup process if relevant pref is set, otherwise load it late, r=ahal 2012-11-29 19:46:39 -08:00
Jonathan Griffin
2e70a34fa0 Backout 9252522aab90, r=bustage 2012-11-30 12:54:00 -08:00
Jonathan Griffin
7c732aaf6d Bug 815807 - Part 3: Load marionette early in the B2G startup process if relevant pref is set, otherwise load it late, r=ahal 2012-11-29 19:46:39 -08:00
Andrew Halberstadt
2722ce2bbf Bug 812514 - Make b2g emulator unittests save logcat for easier debugging, r=jgriffin 2012-11-19 15:52:40 -05:00
Jonathan Griffin
ef1bcf8fe3 Bug 812395 - Make emulator fail gracefully during errors for install_gecko, r=ahal 2012-11-19 09:32:57 -08:00
William Lachance
14b993064f Bug 811388 - Update mozdevice to 0.15, update consumers;r=ahal 2012-11-14 09:49:04 -08:00
Ed Morley
1c5718e096 Bug 808417 - Make runTests() exception reporting consistent across test harnesses; r=jmaher 2012-11-05 13:03:55 +00:00
Jonathan Griffin
6162950fd5 Bug 805428 - Install reftest extension on B2G as app bundle, r=ahal, DONTBUILD(NPOTB) 2012-10-25 09:55:42 -07:00
Andrew Halberstadt
3ea52e5559 Bug 795099 - Add --gecko-path argument to runreftestb2g.py, r=jgriffin; DONTBUILD because NPOTB 2012-10-05 11:12:05 -04:00
Andrew Halberstadt
3c47c68070 Bug 797177 - Fix missed calls to checkCmd within B2G automation, r=mikeh; DONTBUILD because NPOTB 2012-10-05 16:06:02 -04:00
William Lachance
382c927895 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
Andrew Halberstadt
d61f0e8d67 Bug 784810 - Disable browser.tabs.remote for b2g reftests, r=jgriffin 2012-08-22 17:24:57 -04:00
Andrew Halberstadt
7ba1f1b6f4 Bug 778072 - Add pref for reftests to use iframe mozbrowser. r=cjones 2012-08-17 11:45:39 -04:00
Andrew Halberstadt
fb70ccbd37 Bug 782655 - Enable remote xul for B2G reftests, r=jgriffin 2012-08-15 15:26:31 -04:00
Andrew Halberstadt
b4d43b25cb Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin 2012-08-10 14:25:20 -04:00