Commit Graph

2538 Commits

Author SHA1 Message Date
Ryan VanderMeulen
81d70b099b Backout b9ec1725a5e2 (bug 809437) for frequent b2g bustage. 2012-11-07 20:58:14 -05:00
Andrew Halberstadt
650dcd50a5 Bug 809437 - Stop b2g process before installing gecko into an emulator, r=jgriffin 2012-11-07 15:55:01 -08:00
Andrew Halberstadt
158df0c8b5 Bug 809437 - Ensure b2g process has fully stopped before restarting it when installing gecko into an emulator, r=jgriffin 2012-11-07 10:15:17 -08:00
Ehsan Akhgari
9d0bbc706e Merge mozilla-central into mozilla-inbound 2012-11-06 20:16:41 -05:00
Gregory Szorc
262077ed01 Bug 808336 - Part 1: Refactor mach command handler management; r=jhammel
Previously we were tighly coupled with MozbuildObject. This was not in
the spirit of mach being a generic tool. Now, instead of passing multiple
arguments to __init__ of the class providing the mach command we either
pass 0 or 1. The number of arguments is detected when processing the
@CommandProvider decorator. The optional argument is a named tuple
containing mach run-time state.

Capturing of mach command provider information is now captured in a
class (as opposed to an anoymous tuple). We also capture these in a rich
data structure which is passed as part of the run-time data to the
command provider class. This allows mach commands to inspect the mach
environment.

Mach decorators have been moved to mach.decorators. mach.base is
reserved for generic mach data/container classes.

Existing mach command classes derived from MozbuildObject have been
replaced with either object or mozbuild.base.MachCommandBase. This
latter class translates the mach context instance passed to __init__
into the constructor arguments for MozbuildObject.__init__.

Support for registering function handlers with mach has been removed.
All handlers must be inside classes.

--HG--
rename : python/mach/mach/base.py => python/mach/mach/decorators.py
2012-11-06 16:57:41 -08:00
Phil Ringnalda
f4dc89e4a9 No bug - Update revision of Jetpack code used in Firefox to fix two tests. r=kwierso 2012-11-05 23:08:40 -08:00
Andrew Halberstadt
7441301341 Bug 798580 - Run mochitests from within test-container app's oop iframe, r=jgriffin 2012-10-31 09:37:22 -04:00
William Lachance
4045caaf82 Bug 808719 - Mirror over mozdevice 0.14;r=jmaher 2012-11-05 15:18:54 -08:00
Ed Morley
3fdc7e3575 Bug 536603 - Disable test_css_cross_domain.html on Android for too many intermittent failures 2012-11-06 22:26:56 +00:00
Andrew Halberstadt
98925132a0 Bug 800102 - Retry adb push if it times out while installing gecko, r=jgriffin 2012-11-06 13:06:38 -08:00
David Rajchenbach-Teller
fbba29d672 Bug 808428 - Testing that OS.File can be called from xpcshell. r=nfroyd
--HG--
extra : rebase_source : 6dfc9107c4ff2453b47a3df528ca8d0037b91cf8
2012-11-05 07:59:00 -08:00
Jonathan Griffin
3856910e76 Bug 804366 - Include test names in failure messages v0.3, r=ahal 2012-10-31 15:36:57 -07:00
Malini Das
f5e53b3ed9 Bug 801703 - enable switching to nested OOP frame, r=jgriffin, a=NPOTB 2012-11-06 10:54:09 -08:00
Andrew Halberstadt
d6598f5924 Bug 808783 - Disable failing Mn tests, r=jgriffin 2012-11-06 09:17:39 -08:00
Geoff Brown
dad33bcf92 Bug 808725 - Pass -m and -n to xpcshell when running xpcshell-tests-remote; r=jmaher 2012-11-06 04:44:02 -07:00
Geoff Brown
c3efce59a3 Bug 808728 - Log remote environment vars correctly; r=jmaher 2012-11-06 04:43:58 -07:00
Ed Morley
5ebbf2c88a Bug 808545 - Tweak the exception message for runxpcshelltests.py profile cleanup failures; r=gps 2012-11-05 18:29:20 +00:00
Ed Morley
1536cfef6c Bug 808417 - Make runTests() exception reporting consistent across test harnesses; r=jmaher 2012-11-05 13:03:55 +00:00
Jonathan Griffin
b2b4aaae0b Bug 808441 - Enable dom/base mochitests for B2G, a=test-only 2012-11-04 15:24:53 -08:00
Philipp von Weitershausen
deea79d04c Bug 807478 - Fix DebuggerProtocol and SpecialPowers imports for jsloader.reuseGlobal = true. r=past 2012-11-02 18:03:13 -07:00
Ryan VanderMeulen
a7d45f8d16 Merge m-c to inbound. 2012-11-02 16:11:46 -04:00
Dão Gottwald
2af5871aa2 Bug 756313 - Don't load the homepage before the first paint. r=enn 2012-11-02 03:46:56 +01:00
Jonathan Griffin
c4e87bc8f7 Bug 797162 - Add make target for b2g xpcshell tests, r=ted 2012-11-01 14:29:27 -07:00
Chris Jones
4ac48c6333 Bug 807478 - fix timeout argument to waitFor(), r=cjones 2012-10-31 23:51:30 -07:00
Josh Aas
8a78b3c63d Back out both patches for bug 647216 due to regression documented in bug 806244. 2012-11-01 09:19:24 -04:00
Ryan VanderMeulen
f4efaa936a Merge m-c to inbound. 2012-10-31 20:19:27 -04:00
Doug Turner
f68c1576f8 Bug 805178 - Device Storage - Add tests to ensure Application Permissions match that of the Permission Matrix. r=jmaher 2012-10-31 10:06:51 -07:00
Kyle Huey
0469a02b25 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon
--HG--
extra : rebase_source : 98337b6a8c07d05e8c961a452dd05a7d75c3c60b
2012-10-31 09:13:28 -07:00
Ed Morley
7764b09ddb Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-10-31 14:06:39 +00:00
Vicamo Yang
a78b5b38c7 Backout 67cb43bb8865: Breaks B2G Marionette 2012-10-31 16:35:11 +08:00
Jonathan Griffin
de4d2abab6 Bug 807137 - Exclude test_innerWidthHeight from B2G testruns, since it times out, a=test-only, DONTBUILD(NPOTB) 2012-10-30 15:55:11 -07:00
Justin Lebar
574ef00744 Backed out changeset 8bc60d1ab725 (bug 806168) 2012-10-30 21:35:08 -04:00
Justin Lebar
1f675cf11a Bug 806168 - Follow-up: Disable tests on Android. r=me
The test that I renamed in this bug was already disabled on Android, so this does nothing new.
2012-10-30 18:22:37 -04:00
Geoff Brown
ca1359ab4b Bug 799863 (3/3) - use dm.pushFile(file, dir/file) instead of dm.pushFile(file, dir); r=wlach 2012-10-30 15:21:43 -06:00
William Lachance
917860c227 Bug 799863 (2/3) - Guard against an exception occurring before process is defined in xpcshell tests;r=gbrown
---
 testing/xpcshell/runxpcshelltests.py |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
2012-10-16 16:32:33 -04:00
William Lachance
158ce952a1 Bug 799863 (1/3) - Make sure remote xpcshell tests can find mozdevice;r=gbrown
---
 config/makefiles/xpcshell.mk        |    1 +
 js/src/config/makefiles/xpcshell.mk |    1 +
 testing/testsuite-targets.mk        |    1 +
 3 files changed, 3 insertions(+)
2012-10-16 16:28:49 -04:00
Gregory Szorc
21d6dff002 Bug 807861 - Ensure state directory is present before running tests; r=rnewman
DONTBUILD (NPOTB)

--HG--
extra : rebase_source : fd66449c11968269d33eff3f686f22a8767b6898
2012-11-02 10:32:40 -07:00
Jonathan Griffin
1391d06573 Bug 807817 - Dump Marionette logs as well as writing to logfile, r=philikon 2012-11-01 14:49:15 -07:00
Kyle Huey
9a3674d80a Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 12:28:11 -07:00
Ed Morley
4144129728 Backout a145ded68994, e0cf397089ec & 1545e91c658e (bug 798491) for bustage on a CLOSED TREE 2012-10-30 17:02:31 +00:00
Kyle Huey
50b5d3f681 Bug 798491: Add an option to stick all chrome JSMs/JS components in the same compartment. r=mrbkap,philikon 2012-10-30 08:26:12 -07:00
Sam Garrett
3bdf0ebcd3 Bug 771554 - Removing autolog and having tps write-out results to JSON so that coversheet can handle them, r=jgriffin, DONTBUILD(NPOTB) 2012-10-27 17:42:25 -04:00
Ryan VanderMeulen
b428f34b9f Backout e35f252ca573 for mochitest-other orange.
CLOSED TREE

--HG--
extra : rebase_source : 62e15f7306c4443d91daf6af66be9b7012ada9cc
2012-11-01 19:31:02 -04:00
Al Tsai
5bda15e690 Bug 805539 - Prevent effect from default values and network geolocation provider. r=dougt 2012-11-01 19:23:14 -04:00
Ryan VanderMeulen
0195c98e45 Merge m-c to inbound. 2012-11-01 19:23:07 -04:00
Dão Gottwald
6a7571f30d Bug 756313 - Don't load the homepage before the first paint. r=enn 2012-11-01 22:00:35 +01:00
Gregory Szorc
03e3b5a172 Bug 795772 - More mach options to control xpcshell test execution; r=ted
DONTBUILD (NPOTB)
2012-10-31 10:29:26 -07:00
Jonathan Griffin
2be4ee5130 Bug 800102 - Work around adb deadlock when installing gecko in emulator, r=ahal 2012-10-30 12:26:50 -07:00
Ryan VanderMeulen
de5793a4b6 Merge inbound to m-c. 2012-10-27 16:39:23 -04:00
Jeff Hammel
c8a9204eca Bug 805190 - document new procedure for mozbase mirroring and versioning;r=wlach ; DONTBUILD because NPOTB 2012-10-27 08:44:30 -07:00