Commit Graph

191 Commits

Author SHA1 Message Date
Nathan Froyd
324d829041 Bug 940637 - part 4 - add mach options for dumping about:memory and DMD logs; r=jmaher 2013-11-19 15:12:00 -05:00
Nathan Froyd
577520da80 Bug 938289 - part 3 - add mach support for running DMD during mochitests; r=gps 2013-11-13 14:48:29 -05:00
Felipe Gomes
3af2806084 Bug 916797 - --run-until-failure mochitest option should support running multiple tests. r=jmaher 2013-11-05 13:48:36 -02:00
Andrew Halberstadt
1ea55247a7 Bug 932782 - b2g desktop mochitest mach target should use the new manifest, r=jgriffin, DONTBUILD, a=NPOTB 2013-11-04 09:53:42 -05:00
Mark Hammond
657b4e70b1 Bug 932149 - add --e10s option to mach's mochitest commands and to testrunner.py. r=ted 2013-11-04 10:07:49 +11:00
Felipe Gomes
5659d7626e Bug 932144 - Add option to break into debugger on test failure. r=jmaher 2013-11-01 17:23:34 -02:00
Felipe Gomes
6f0a6b3981 Bug 931279 - Follow-up on mach support for mochitest --start-at and --end-at. r=jmaher 2013-11-01 17:23:32 -02:00
Bill McCloskey
f5958bdaca Bug 931279 - Allow people to start running at a given test (r=jmaher) 2013-10-28 12:24:55 -07:00
Gijs Kruitbosch
4e85041a44 Bug 895471 - part 1: allow passing the flag to mochitest-browser, r=ted 2013-10-21 18:12:12 +02:00
Gregory Szorc
f5c5dde751 Bug 920184 - Have mach xpcshell-test and mochitest-* update test files automatically; r=ted 2013-10-01 18:36:44 +02:00
Jeff Hammel
c0a4393107 follow up: webapprt on mach; Bug 746243 - port Mochitest to Mozbase;r=gps 2013-09-24 13:44:23 -07:00
Jeff Hammel
5478a8ea69 Bug 746243 - port Mochitest to Mozbase;r=ted 2013-09-23 07:47:48 -07:00
Andrew Halberstadt
e2d091cbe4 Bug 917055 - Add mach target for b2g desktop mochitests, r=jgriffin,gps 2013-09-19 14:43:44 -04:00
Andrew Halberstadt
d692dbb463 Bug 914327 - Mach command for b2g mochitests should handle test_path better, r=jgriffin, DONTBUILD, a=NPOTB 2013-09-11 14:53:47 -04:00
Gregory Szorc
587da4b9c4 Bug 913241 - Support chunking mochitests from mach; r=jmaher 2013-09-09 12:36:03 -07:00
Andrew Halberstadt
069a12f0ea Bug 909888 - Add mach commands for b2g reftests and crashtests, r=jgriffin 2013-08-29 14:23:07 -04:00
Andrew Halberstadt
88676ae270 Bug 908874 - Add mach command to run b2g mochitests, r=jgriffin,gps, DONTBUILD, a=NPOTB 2013-08-28 10:08:50 -04:00
Marco Castelluccio
0746360069 Bug 906837 - Add mach command for running webapprt chrome tests. r=adw, r=gps 2013-08-23 10:06:16 -04:00
Matt Brubeck
6e471bfa49 Bug 899695 - Fix exception in "mach python" on Windows [r=gps]
DONTBUILD (not part of the build)
2013-08-08 08:06:02 -07:00
Andrew Halberstadt
419a7c2468 Bug 898725 - Fix mochitest mach target regression, r=jgriffin 2013-07-29 13:01:54 -04:00
Paul Adenot
706fc882c8 Bug 876732 - Add a way to pass debugger args when using mach mochitest. r=ted 2013-05-30 17:00:46 +02:00
Felipe Gomes
e585a66a23 Bug 875463 - Implement --run-until-failure option for mochitests. r=jmaher 2013-05-24 16:03:50 -03:00
Gregory Szorc
e65514dd53 Bug 875382 - mach mochitest-* now emits proper exit code on test failure; r=Ms2ger 2013-05-23 10:13:54 -07:00
Gregory Szorc
58dd420bfe Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Gregory Szorc
b5487c0833 Bug 857984 - mach mochitest now colorizes and prints failure summary; r=Ms2ger 2013-04-04 15:17:23 -07:00
Ms2ger
4a0d8094a7 Backout changeset e1bddda508fe for double logging when running mochitests through mach. 2013-04-07 10:11:11 +02:00
Gregory Szorc
95e48c72a2 Bug 857984 - mach mochitest now colorizes and prints failure summary; r=Ms2ger 2013-04-04 15:17:23 -07:00
Matt Brubeck
31adf6bba5 Bug 857332 - Normalize topobjdir to an absolute path in mozbuild.base [r=gps] 2013-04-03 10:15:12 -07:00
Matt Brubeck
49efe55aba Bug 855709 - Fix error in mach mochitest commands when objdir is a relative path [r=gps] 2013-03-28 15:47:21 -07:00
Matt Brubeck
4679fac792 Bug 855562 - Fix error in "mach mochitest-metro" [r=Ms2ger] 2013-03-28 09:23:03 -07:00
Matt Brubeck
19b867b2f2 Bug 855563 - Improve mach mochitest file checking and error reporting [r=gps] 2013-03-28 09:23:03 -07:00
Gregory Szorc
f58a42222f Bug 818819 - Revamp mach's interaction with mochitests; r=Ms2ger
mach now invokes mochitests using the native Python API (as opposed to
make targets). mach now supports --shuffle, --rerun-failures,
--keep-open, --no-autorun, --repeat, and --slow.
2013-03-26 15:00:43 -07:00
Matt Brubeck
bff247da25 Bug 840690 - Improve handling of relative paths when running mach in subdirectories [r=gps] 2013-03-14 11:09:00 -07:00
Matt Brubeck
ce83eff9b6 Bug 839340 - mach mochitest <dir> doesn't work on Windows [r=gps] 2013-02-13 15:35:44 -08:00
Matt Brubeck
1471abe892 Bug 828691 - Add a mach command to run mochitest Metro chrome tests [r=gps] 2013-02-12 14:51:24 -06:00
Gregory Szorc
fab5ee2c09 Bug 797101 - Support running mochitests under debugger with mach; r=Ms2ger 2012-12-05 14:27:54 -08:00
Gregory Szorc
139ddeb204 Bug 797471 - Handle mochitest failures gracefully in mach; r=Ms2ger 2012-11-14 12:56:02 -08:00
Gregory Szorc
bd2380c69d 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.
2012-11-06 16:57:41 -08:00
Gregory Szorc
17b131aeae Bug 807861 - Ensure state directory is present before running tests; r=rnewman
DONTBUILD (NPOTB)
2012-11-02 10:32:40 -07:00
Gregory Szorc
2b27cf1cf0 Bug 799291 - Part 3: Move mozbuild.testing into testing/; r=jhammel 2012-10-10 11:08:09 -07:00
Gregory Szorc
432281727e Bug 799291 - Part 1: Move mach commands for test running into test runners; r=jhammel
The code interacting with the test runners now resides in closer
proximity to the code it is invoking. We also purge testing
functionality from mozbuild, which is where it never really belonged.
2012-10-10 11:08:09 -07:00