Commit Graph

124 Commits

Author SHA1 Message Date
Masatoshi Kimura
8e53e3316a Bug 1028438 - Remove dummy --enable-privilege option from remotereftest.py. r=ted 2014-06-28 15:01:23 +09:00
William Lachance
2ea7db939a Bug 996862 - Remove use of mozdevice's networktools. r=ahal 2014-04-21 11:03:51 -04:00
Andrew Halberstadt
07dd742114 Bug 916350 - Make it possible to run reftests on b2g desktop, r=jgriffin,ted 2014-01-24 10:34:01 -05:00
Wes Kocher
0c0bd6c1f7 Backed out changeset 31ef6f1090fd (bug 916350) for android reftest bustage on a CLOSED TREE 2014-01-21 15:37:02 -08:00
Andrew Halberstadt
2fc006875c Bug 916350 - Make it possible to run reftests on b2g desktop, r=jgriffin,ted 2014-01-21 17:25:20 -05:00
Gian-Carlo Pascutto
dd7c2c1eb5 Bug 783047 - Update SafeBrowsing URLs to use HTTPS. r=mmc,dcamp sr=gavin 2014-01-16 09:27:59 +01:00
Nathan Froyd
ae864fa10d Bug 813742 - add --run-tests-in-parallel option to reftests; r=ted 2013-07-31 11:07:23 -04:00
Robert O'Callahan
1f46710804 Bug 938322. Address review comment. r=gbrown 2013-11-18 01:24:09 +13:00
Robert O'Callahan
bc721972ba Bug 938322. Force layout.css.devPixelsPerPx to 1.0 for reftests on all Android devices. r=gbrown 2013-11-12 17:05:26 +13:00
Dan Minor
5fb92d17bd Bug 907351 - Android pandaboard reftests run significantly slower; r=gbrown 2013-09-19 09:12:48 -04:00
Ed Morley
b9ef689cf1 Bug 917817 - Make several more python test harness failure modes TBPL parsable; r=jmaher 2013-09-19 13:20:17 +01:00
Ryan VanderMeulen
240ded996a Backed out changeset 8c85c4d93fb7 (bug 907351) for Android 2.2 reftest failures.
CLOSED TREE
2013-09-17 13:38:39 -04:00
Dan Minor
a5a929e65b Bug 907351 - Android pandaboard reftests run significantly slower; r=gbrown 2013-09-16 06:54:39 -04:00
Masatoshi Kimura
4743dabd80 Bug 913510 - Remove vestigial capability.principal prefs usage. r=bholley 2013-09-07 18:49:03 +09:00
Phil Ringnalda
54e82c96a1 Back out c8687e99dc75 (bug 913510) for Android bustage 2013-09-06 19:08:42 -07:00
Masatoshi Kimura
8a26d4b4dc Bug 913510 - Remove vestigial capability.principal prefs usage. r=bholley 2013-09-07 09:34:21 +09:00
Mihnea Dobrescu-Balaur
19c4437f2a Bug 899171 - Use mozprofile in the reftest harness. r=ahal 2013-08-19 14:40:27 -07:00
Phil Ringnalda
117f51c4b4 Back out 3354e7e52613 (bug 899171) on suspicion of causing Fennec and b2g reftest/jsreftest/crashtest bustage
CLOSED TREE
2013-08-07 22:33:56 -07:00
Mihnea Dobrescu-Balaur
6367c22d6e Bug 899171 - Use mozprofile in the reftest harness. r=ahal 2013-08-06 17:51:31 -07:00
Geoff Brown
ea9fc552d6 Bug 882932 - (2) Fix httpdPath setting for remote mochitest; r=jmaher 2013-06-28 19:20:08 -07:00
Geoff Brown
b616f6f32f Bug 882932 - Add -httpd-path option to mochitests and reftests; r=jmaher 2013-06-26 20:42:46 -07:00
William Lachance
9f35dce601 Bug 885365 - Print testroot in mochitest/reftest for fennec;r=jmaher 2013-06-24 17:15:40 -07:00
Joel Maher
9710006ac8 Bug 871575 - Set prefs to ensure we don't hit the network in the background during reftest-harness tests on Android, particularly during shutdown when that'll give us NSS crashes, r=philor 2013-05-17 11:20:00 -04:00
Geoff Brown
fd0f657ad1 Bug 872244 - Dump ANR stack traces after Android tests; r=jmaher 2013-05-16 14:32:52 -06:00
Geoff Brown
a9b105a446 Bug 865944 - Use top activity instead of process to check launch success; r=jmaher 2013-05-03 11:37:59 -06:00
Jonathan Griffin
3866e73ed3 Bug 826135 - Throw if --utility-path points to ARM version of xpcshell, r=ahal 2013-01-03 17:37:26 -08:00
Mike Connor
9586c6f4dd Bug 804745 - Unified notification for application data reporting; r=gavin 2013-01-11 19:05:35 -08:00
Theo Chevalier
c4911c84a6 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
b4ec1eb3bb Bug 810347 - Provide option for setting remote test root; r=jmaher 2012-12-20 09:11:11 -07:00
Theo Chevalier
6ff68ab27f Bug 737596 - Enable Telemetry by default on Nightly and Aurora channels (mobile). r=bnicholson 2012-12-10 23:25:50 +01:00
Ed Morley
bbf1ec316f Bug 808410 - remotereftest.py shouldn't ignore the runTests() exit code; r=jmaher 2012-11-20 15:24:27 +00:00
William Lachance
bf48c7a9e9 Bug 805116 - Print more of the logcat in mobile tests;r=gbrown 2012-11-12 13:57:13 -08:00
Ed Morley
da71394a8f Bug 808417 - remotereftest.py should print the actual exception if one occurred runTests(); r=jmaher 2012-11-05 13:03:54 +00:00
William Lachance
576c3179bc Bug 801652 - Remove redundant devicemanager import;r=jmaher 2012-10-24 13:43:29 -04:00
William Lachance
2964fe96a9 Bug 801652 - Make sure we print logcat, device info on remote mochitest/reftest failure;r=jmaher 2012-10-24 13:34:33 -04:00
William Lachance
f6eb10dd3b Bug 756440 - Only warn when we fail cleanup steps with mobile mochitest/reftest;r=jmaher
Before we were outright failing if the test logfile was missing when cleaning
up these tests. But that's generally a sign that the app failed to start
up properly, which is the true issue we should be trying to catch / diagnose.
Let's just print a warning here and move on.
2012-10-15 10:15:19 -04:00
William Lachance
bd5cbf8b30 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
ff1b6df495 Bug 770490 - Infrastructure to run reftests on B2G, r=jgriffin 2012-08-10 14:25:20 -04:00
William Lachance
a7a90d2d19 Bug 777500 - Log information about device before and after test for remote mochitest and reftests;r=jmaher 2012-07-25 20:45:36 -04:00
Joel Maher
acb7bb3b33 Bug 754873 - fennec automated tests should capture logcat output while test is running. r=wlach 2012-06-13 14:20:43 -04:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Armen Zambrano Gasparnian
9070d638d5 Bug 735451. raise exception when DeviceManager fails to initialize. r=jmaher 2012-04-11 14:51:18 -04:00
Joel Maher
595f25ddbb Bug 736112 - add try/except blocks around all harnesses devicemanager initialization so we always return an error code. r=wlach 2012-03-22 10:45:30 -04:00
William Lachance
da7119c2e3 Bug 736246 - DeviceManagerADB should throw an exception if we know it's not going to work. r=jmaher 2012-03-16 18:36:28 -04:00
Kyle Huey
a339ac6245 Bug 732481: Remove the EM restart from the reftest harness. r=dbaron 2012-03-02 18:31:50 -08:00
Bobby Holley
013e266d05 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Joel Maher
280548a660 Bug 704509 - fix reftests to work with native fennec. r=dbaron 2011-12-20 16:33:41 -05:00
L. David Baron
60d6d6fb5a Run existing tests without font size inflation, even when it is enabled. (Bug 627842, patch 17) r=roc 2011-11-23 18:48:24 -08:00
Joel Maher
597a2672c2 Bug 695513 - Remote reftests should fail more cleanly if an invalid test manifest is passed in. r=mw22 2011-10-19 07:23:54 -04:00
William Lachance
46b2dab7e8 Bug 695513 - Remote reftests should fail cleanly if invalid test manifest specified. r=jmaher 2011-10-19 05:35:05 -04:00