Commit Graph

16 Commits

Author SHA1 Message Date
Josh Matthews
41a6f98b20 Bug 597064 - Add timeout logic to xpcshell test runner. r=ted 2012-12-20 03:43:19 -05:00
Gregory Szorc
298c09657e Bug 856392 - Categorize mach commands; r=jhammel
DONTBUILD (NPOTB)
2013-05-08 17:56:30 -07:00
Georg Fritzsche
e0cfa4daf6 Bug 816223 - Scan subdirectories for xpcshell.ini from mach command. r=ted 2013-03-19 17:42:08 +01:00
Matt Brubeck
683b96e34f Bug 840690 - Improve handling of relative paths when running mach in subdirectories [r=gps] 2013-03-14 11:09:00 -07:00
Matt Brubeck
3a96291306 Bug 848447 - Fix os.path bugs in xpcshell commands on Windows [r=gps] 2013-03-06 20:41:22 -08:00
Gregory Szorc
2cc094b7e4 Bug 771578 - Part 1: Reindent xpcshell test runner Python files; rs=ted 2013-02-20 12:45:14 -08:00
Georg Fritzsche
211b5de07a Bug 657313 - Fix mach xpcshell command to provide pluginsPath. r=ted 2013-02-19 18:13:38 +01:00
Phil Ringnalda
66b90e22d5 Back out ce4f4d4d69d9 (bug 771578) for xpcshell reporting bustage
CLOSED TREE
2013-02-20 15:20:17 -08:00
Gregory Szorc
3a7fc22a9f Bug 771578 - Part 1: Reindent xpcshell test runner Python files; rs=ted 2013-02-20 12:45:14 -08:00
Gregory Szorc
0cdc6d4fd2 Bug 818475 - Return proper exit code if xpcshell test fails; r=ted
DONTBUILD (NPOTB)
2012-12-05 15:42:11 -08:00
Gregory Szorc
562207428f Bug 815487 - Detect missing xpcshell.ini from mach; r=ted
DONTBUILD (NPOTB)
2012-11-28 12:19:32 -08:00
Gregory Szorc
24256e418b Bug 810435 - Convert unicode to str to work around Python 2.7.2 bug; r=jhammel
DONTBUILD (NPOTB)
2012-11-14 10:05:18 -08: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
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
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
Gregory Szorc
3dd8150678 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