Commit Graph

9 Commits

Author SHA1 Message Date
Ting-Yu Lin
00d2bb924f Bug 982560 - Fix mach fails to find tests in subdirectory. r=gps
Make the test paths relative to topsrcdir before passing them to
TestResolver. Also do not passing cwd to TestResolver since it will
filter out tests that do not live under the directory where the mach
command is executed.

Verification steps:
Execute a mach test command from any subdirectory. For example:
$ cd testing/tps/
$ ../../mach xpcshell-test ../../services/fxaccounts/tests/xpcshell/
$ ../../mach test ../../services/fxaccounts/tests/xpcshell/
2014-07-01 23:21:00 +02:00
Gregory Szorc
a7c2656cb5 Bug 920193 - Teach mach test how to run individual test files; r=AutomatedTester
With this change, mach test can now resolve filename arguments to tests
and can dispatch to the appropriate mach commands.

If the arguments contain tests belonging to multiple test
suites/flavors, each relevant test in invoked.

--HG--
extra : rebase_source : dae9e0a094acc587bb7ecb769789c062c7aeb34f
2014-06-18 11:21:12 -07:00
Gregory Szorc
4999a49478 Bug 938712 - Dispatch mach test mochitest suites via mach mochitest; r=AutomatedTester
`mach test` now dispatches through `mach mochitest --flavor` where
supported. As part of testing this patch, it was discovered that `mach
test` may have been broken for quite some time, as it was still
referring to "test_file" arguments instead of "test_paths." This has
been corrected.

--HG--
extra : rebase_source : 4a704df0a67bdda575785cb9f27f050f178dc505
2014-06-17 16:03:49 -07:00
Dan Minor
52f533ac9d Bug 992887 - Rename mach jittest to mach check-spidermonkey and add jstest support; r=mshal 2014-04-29 10:22:50 -04:00
Michael Ratcliffe
e7dad953b0 Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Dan Minor
a69c12157d Bug 988849 - Add mach target for jit tests; r=gps 2014-03-27 10:16:14 -04:00
Dan Minor
e764d14027 Bug 949538 - Add mach target for cpp unittests; r=gps 2014-01-02 10:19:35 -05:00
Nicholas Nethercote
df8b482aa5 Bug 631842 (part 2) - Implement |mach valgrind-test|. r=gps. 2013-12-18 17:36:08 -08:00
Gregory Szorc
85cad798a7 Bug 860839 - Initial implementation of |mach test|; r=jhammel
The future of running tests is this command. It is a unified command for
running tests. Currently, it only supports running test suites from
their full test suite name or TBPL abbreviation. Support will be added
in the future for running individual tests or mixing and matching tests
of different flavors.
2013-09-09 12:37:38 -07:00