Commit Graph

21 Commits

Author SHA1 Message Date
Paul Adenot
d9378584d2 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
4476cb86f7 Bug 875463 - Implement --run-until-failure option for mochitests. r=jmaher 2013-05-24 16:03:50 -03:00
Gregory Szorc
0e006a17f5 Bug 875382 - mach mochitest-* now emits proper exit code on test failure; r=Ms2ger 2013-05-23 10:13:54 -07:00
Gregory Szorc
408aacec08 Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Gregory Szorc
0cbb99ce0a Bug 857984 - mach mochitest now colorizes and prints failure summary; r=Ms2ger 2013-04-04 15:17:23 -07:00
Ms2ger
439fc61f53 Backout changeset e1bddda508fe for double logging when running mochitests through mach. 2013-04-07 10:11:11 +02:00
Gregory Szorc
91afcc54b5 Bug 857984 - mach mochitest now colorizes and prints failure summary; r=Ms2ger
--HG--
extra : rebase_source : 97900c2bf0aaa83a3a9fa5e4dc88901140f66e60
2013-04-04 15:17:23 -07:00
Matt Brubeck
a4f3fa155f Bug 857332 - Normalize topobjdir to an absolute path in mozbuild.base [r=gps] 2013-04-03 10:15:12 -07:00
Matt Brubeck
185029ee5f 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
14223aebc4 Bug 855562 - Fix error in "mach mochitest-metro" [r=Ms2ger] 2013-03-28 09:23:03 -07:00
Matt Brubeck
d699331eb7 Bug 855563 - Improve mach mochitest file checking and error reporting [r=gps] 2013-03-28 09:23:03 -07:00
Gregory Szorc
e351d6e9d7 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
ee2c0bedfd Bug 840690 - Improve handling of relative paths when running mach in subdirectories [r=gps] 2013-03-14 11:09:00 -07:00
Matt Brubeck
09455b61ce Bug 839340 - mach mochitest <dir> doesn't work on Windows [r=gps] 2013-02-13 15:35:44 -08:00
Matt Brubeck
32382bf86c Bug 828691 - Add a mach command to run mochitest Metro chrome tests [r=gps] 2013-02-12 14:51:24 -06:00
Gregory Szorc
28b3111621 Bug 797101 - Support running mochitests under debugger with mach; r=Ms2ger 2012-12-05 14:27:54 -08:00
Gregory Szorc
2c33633e4d Bug 797471 - Handle mochitest failures gracefully in mach; r=Ms2ger 2012-11-14 12:56:02 -08:00
Gregory Szorc
cb927ab20b 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
Gregory Szorc
eb2701ecef 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
Gregory Szorc
2bb5606ff3 Bug 799291 - Part 3: Move mozbuild.testing into testing/; r=jhammel
--HG--
rename : python/mozbuild/mozbuild/testing/test.py => testing/moztesting/util.py
2012-10-10 11:08:09 -07:00
Gregory Szorc
97cce3a53e 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.

--HG--
rename : python/mozbuild/mozbuild/testing/reftest.py => layout/tools/reftest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/mochitest.py => testing/mochitest/mach_commands.py
rename : python/mozbuild/mozbuild/testing/xpcshell.py => testing/xpcshell/mach_commands.py
2012-10-10 11:08:09 -07:00