Граф коммитов

177 Коммитов

Автор SHA1 Сообщение Дата
Henrik Skupin 3418dc5d58 Bug 1302364 - Include firefox-ui and puppeteer in all-tests.json, and allow to run tests via "mach test". r=gps
MozReview-Commit-ID: EwONsQSgAym

--HG--
extra : rebase_source : 61870a85c3f749ac3da202e08c2ba91fa87a261b
2016-09-13 17:21:52 +02:00
Chris Manchester a035970fe6 Backed out changeset efec1285a2a1 (bug 1281570) as part of the backout of bug 1258451
MozReview-Commit-ID: KaUcqC4Es6Z
2016-06-29 13:12:17 -07:00
Jared Wein 568b6e3746 Bug 1281570 - Provide recommendations to fix typos when using 'mach try'. r=chmanchester
MozReview-Commit-ID: HIx5QevA3Iy
2016-06-24 21:36:39 -04:00
Andrew Halberstadt 1bcb434a74 Bug 1243083 - Enable e10s by default when using chunk-finder, r=jgraham
MozReview-Commit-ID: NlTGwdQ2nw

--HG--
extra : rebase_source : 71587d5962eaedc79511c5c3884fabb65323560c
2016-04-01 11:03:08 -04:00
Chris Manchester a7138cfc10 Bug 1242051 - Install test files to the objdir lazily rather than with each invocation of mach. r=gps
This moves test installation for test files out of the monolithic install
manifest for $objdir/_tests, and determines the test and support files
to install based on the object derived from all-tests.json. Additionally,
the files resulting from TEST_HARNESS_FILES are installed, as some tests
will depend on them.

As a result, the time to install tests when invoking the test runner will
scale with the number of tests requested to run rather than the entire set
of tests in the tree, resulting in significantly less overhead.

MozReview-Commit-ID: LeIrUVh1yD4
2016-04-04 14:56:52 -07:00
Chris Manchester deba6c4c21 Bug 1257659 - Fix |mach try| on Windows by normalizing before comparing paths. r=mshal
We recently started posix-normalizing path separators for "topsrcdir", so
we need to posix-normalize our inputs before making comparisons.

MozReview-Commit-ID: 4qMy0swseND

--HG--
extra : rebase_source : 66503c59f8e49ac7349c3c4c49b0758f919438d8
2016-03-18 11:20:32 -07:00
Ted Mielczarek 7b1faa29bc bug 1255479 - make `mach python-tests` use TestResolver for discovery, make `mach test` work for python tests. r=nalexander
MozReview-Commit-ID: CK2Vh6gdnb0

--HG--
extra : rebase_source : 2b1b05224ade41ad500dc66116beb3b091db9cde
extra : amend_source : 349f7cc876383d873acb1c73c0118d394f39284d
extra : histedit_source : 6d1d44188bb3a4fc69da2900e8118ce2a88a5fd7
2016-03-10 12:30:10 -05:00
Myk Melez db9a40ca42 Bug 1238079 - remove the desktop web runtime; r=fabrice,mossop,gps,jryans,jmaher,marco 2016-03-07 13:33:12 -08:00
Chris Manchester a2f2f2792b Bug 1236382 - Add commonly used arguments to mach try, remove the extra arguments functionality. r=jgraham
Using nargs='*' in conjunction with nargs=REMAINDER creates an ambiguity when
the argument using nargs='*' is optional, it is not specified, and the user
intends their arguments to be interpreted as "extra" arguments. This commit
removes the nargs=REMAINDER argument for mach_try, and implements its most
common users from trychooser as a set of regular arguments to echo to
generated try syntax.

MozReview-Commit-ID: FOuDZxUfHu9
2016-01-04 14:07:11 -08:00
Wes Kocher edebbea4b6 Backed out changeset c6617c4a27b4 (bug 1238305) for android cpp failures
--HG--
extra : commitid : EuB6Kp1TqPh
2016-01-29 15:01:46 -08:00
Aaron Klotz fed7bf0616 Bug 1238305: Modify cppunittests to look up breakpad symbols for logged stack traces; r=ted
--HG--
extra : rebase_source : 61234601a1e3d7d355c61a3458fc344b616db630
2016-01-12 12:58:59 -07:00
Andreas Tolfsen b4cc1449e1 Bug 1205687 - Add Mn test flavour and include tests in build manifests; r=jgraham
--HG--
extra : rebase_source : 3757f860eefed15a06d1acd7bd0b553b306151a6
2015-09-18 14:53:37 +01:00
Chris Manchester 3142590903 Bug 1233506 - Only accept positional arguments to mach try that are directories. r=jgraham
--HG--
extra : rebase_source : ef3640736bb3426e01beff81faa97a8a617de6f6
2015-12-17 12:38:32 -08:00
Chris Manchester 3d18fb1c81 Bug 1230596 - Allow running talos on specific platforms through mach try. r=jgraham
--HG--
extra : commitid : AeckQOMrkDy
2015-12-07 15:13:03 -08:00
James Graham d3a85dd933 Bug 1216950 - Add --list to |mach try| to display saved try strings, r=chmanchester 2015-10-23 00:57:39 +01:00
James Graham f520e71b77 Bug 1210481 - Fix interaction between saved try strings and platform environment variable in mach try, r=chmanchester 2015-10-01 19:49:28 +01:00
Chris Manchester 4b117a9b12 Bug 1209188 - Add a mode to mach test to run impacted tests according to moz.build dependency info. r=ahal
This modifies the behavior of running |./mach test| with no arguments to run
tests relevant to local file changes, as specified by IMPACTED_TESTS annotations
in moz.build files relevant to the changed files.

--HG--
extra : commitid : JoRd4oSdhXY
2015-10-01 10:10:45 -07:00
James Graham b25fef4433 Bug 1210068 - Fix a problem saving mach try expressions with a space in the try syntax, r=chmanchester 2015-10-01 18:08:31 +01:00
Chris Manchester 059807dbd8 Bug 1209701 - Don't require platforms as input to |./mach try| if set in the environment. r=jgraham
--HG--
extra : commitid : amxtVwsmei
2015-09-30 16:38:20 -07:00
Chris Manchester 7bc85f9727 Bug 1184405 - Use file metadata from files changed in the current branch in mach try when no other arguments are present. r=jgraham
--HG--
extra : commitid : IS04VgBwDxE
2015-09-30 16:38:20 -07:00
James Graham 6169183621 Bug 1204120 - Allow passing talos arguments to |mach try|, r=chmanchester
This has the side effect that passing -t none doesn't result
in bare -t being passed (because "none" is interpreted as a
test path).
2015-09-25 16:32:59 +01:00
James Graham 538a908e55 Bug 1193264 - Add support for saving and reusing try strings in mach try, r=chmanchester
Adds --save and --preset arguments that can be used to store and reuse
frequently used try strings.
2015-09-25 16:32:58 +01:00
James Graham d3ac719a31 Bug 1193215 - Support for passing test directories through mach try, r=chmanchester
This adds support for web-platform-tests to mach try. It changes the implementation
so that instead of passing paths to manifests, the user passes arbitary paths in the
source tree, and tests under that path are run, with test discovery mainly left to
the harness.
2015-09-25 16:32:57 +01:00
Carsten "Tomcat" Book 13afb0c9a2 Backed out 3 changesets (bug 1193264, bug 1193215, bug 1204120) for S4 Test failures
Backed out changeset 3000fca0fc88 (bug 1204120)
Backed out changeset 2e67853b0b70 (bug 1193264)
Backed out changeset ced598ee50fe (bug 1193215)

--HG--
extra : rebase_source : df58626853ca7748b1a13833363678ca113b2484
2015-09-25 13:13:54 +02:00
James Graham fc48bbaaab Bug 1204120 - Allow passing talos arguments to |mach try|, r=chmanchester
This has the side effect that passing -t none doesn't result
in bare -t being passed (because "none" is interpreted as a
test path).
2015-09-25 10:45:28 +01:00
James Graham 634916e619 Bug 1193264 - Add support for saving and reusing try strings in mach try, r=chmanchester
Adds --save and --preset arguments that can be used to store and reuse
frequently used try strings.
2015-09-25 10:45:20 +01:00
James Graham 29a4f7a370 Bug 1193215 - Support for passing test directories through mach try, r=chmanchester
This adds support for web-platform-tests to mach try. It changes the implementation
so that instead of passing paths to manifests, the user passes arbitary paths in the
source tree, and tests under that path are run, with test discovery mainly left to
the harness.
2015-09-25 10:45:17 +01:00
Carsten "Tomcat" Book 1c291b5aad Backed out 4 changesets (bug 1193264, bug 1193215, bug 1188483, bug 1204120) for test bustage and bustage on a CLOSED TREE
Backed out changeset a9a4292b2df3 (bug 1188483)
Backed out changeset 9748ff0d2836 (bug 1204120)
Backed out changeset a0b952bb6620 (bug 1193264)
Backed out changeset 63c61416c2f7 (bug 1193215)
2015-09-24 13:58:20 +02:00
James Graham 5ce827ccac Bug 1204120 - Allow passing talos arguments to |mach try|.
This has the side effect that passing -t none doesn't result
in bare -t being passed (because "none" is interpreted as a
test path).
2015-09-24 11:58:04 +01:00
James Graham 86787b7b7a Bug 1193264 - Add support for saving and reusing try strings in mach try
Adds --save and --preset arguments that can be used to store and reuse
frequently used try strings.
2015-09-24 11:58:04 +01:00
James Graham 66ca06104d Bug 1193215 - Support for passing test directories through mach try.
This adds support for web-platform-tests to mach try. It changes the implementation
so that instead of passing paths to manifests, the user passes arbitary paths in the
source tree, and tests under that path are run, with test discovery mainly left to
the harness.
2015-09-24 11:58:03 +01:00
James Graham 25921f1b96 Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-17 10:50:57 +01:00
Geoff Brown ca1aa238ee Bug 1090276 - Support mach cppunittest on Android; r=dminor 2015-09-14 08:40:35 -06:00
Nigel Babu 84a5522c61 Backed out 7 changesets (bug 1181516, bug 1198257, bug 1193257, bug 1194166, bug 1193223, bug 1193224, bug 1181520) for JS Refest bustage on Android
Backed out changeset e768739ec812 (bug 1194166)
Backed out changeset a8393be51468 (bug 1193257)
Backed out changeset 1484fe1a38e6 (bug 1193224)
Backed out changeset 24f4ad5c55cc (bug 1198257)
Backed out changeset 985f984a97ad (bug 1193223)
Backed out changeset 6137013d4933 (bug 1181516)
Backed out changeset 0456de3eb5e3 (bug 1181520)

ON A CLOSED TREE
2015-09-14 15:16:34 +05:30
James Graham 841e634737 Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-14 09:46:57 +01:00
Carsten "Tomcat" Book b3ee47117c Backed out 7 changesets (bug 1181516, bug 1198257, bug 1193257, bug 1194166, bug 1193223, bug 1193224, bug 1181520) for test bustages on Android on a CLOSED TREE
Backed out changeset efe681ac063f (bug 1194166)
Backed out changeset bfcbce193ccf (bug 1193257)
Backed out changeset bb035419fd9c (bug 1193224)
Backed out changeset eb2d48b71c37 (bug 1198257)
Backed out changeset 0d6532c1e99e (bug 1193223)
Backed out changeset da3dd2f650d0 (bug 1181516)
Backed out changeset 29c33bbaac01 (bug 1181520)
2015-09-11 14:18:09 +02:00
James Graham dd1db6f1da Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-11 12:30:12 +01:00
Chris Manchester 7df4fddfc7 Bug 1202213 - Always print the calculated syntax from mach try when --no-push is present. r=ahal
--HG--
extra : commitid : HcrsJmdoGZX
2015-09-10 10:20:59 -07:00
Vaibhav Agrawal 65061edbd6 Bug 999450 - Make find-test-chunk automatically detect test flavor and subsuite via TestResolver. r=chmanchester
--HG--
extra : transplant_source : %05%21-%84%08v%97%9B%C9%BC0%5E%85%B2S%3C7%FC%40%82
2015-09-02 13:18:08 -07:00
Vaibhav Agrawal 0678014eb4 Bug 999450 - Adding --platform to make find-test-chunk detect chunk for a test for another platform. r=chmanchester
--HG--
extra : transplant_source : %FF%AD%A4G%BA%D2Cf%85%7D%BB%25T%10%C3%BE%D4%B6%1C4
2015-09-03 21:32:53 -07:00
Vaibhav Agrawal 9ba0448208 Bug 999450 - Adding --debug to make find-test-chunk detect chunk for a test for a debug build. r=chmanchester
--HG--
extra : transplant_source : %2A%C9g%86B%7EP%3B%E1%07j%7C%8C%9AZ%A0%BF%F4V%0D
2015-08-31 22:52:07 -07:00
Vaibhav Agrawal a0cec99de9 Bug 999450 - Adding --e10s option to make find-test-chunk detect chunk for a test on e10s platform. r=chmanchester
--HG--
extra : transplant_source : %90R%AE%D4%C0%85%1C%3E%9E%D1ol%85K4%7B%AC%3C%E8%5C
2015-09-01 21:19:21 -07:00
Vaibhav Agrawal 6b6540684a Bug 999450 - Make find-test-chunk detect if a test is disabled on a platform. r=chmanchester
--HG--
extra : transplant_source : %BD%CAg%A0%3B%A1%B5nrO%D3%E9%BBj%DC%1B%CC%26R%AB
2015-09-01 21:10:23 -07:00
Vaibhav Agrawal 1bd565d6df Bug 999450 - Add find-test-chunk command in mach to discover the chunk for a mochitest on a platform. r=chmanchester
--HG--
extra : rebase_source : 1bf71ba005dd9f6d63167b9e6e0f074b1489215c
2015-08-26 16:51:15 -07:00
Chris Manchester b9c19e7772 Bug 1197829 - Don't invoke the build system if paths or tags aren't passed to mach try. r=ahal
--HG--
extra : commitid : 2aOT5iclwsQ
2015-08-26 12:48:28 -07:00
Julien Pagès b8ec45af60 Bug 1194789 - Disable mochitest-ipcplugins and remove mochitest-ipcplugins code. r=jgriffin
--HG--
extra : commitid : 4Ps3qwkLTP7
extra : rebase_source : d5e08932b78a025256dbe9ac2a2c82e95c5a3c9a
2015-08-17 20:34:25 +02:00
Jonathan Griffin 105e1bf9c3 Bug 1190474 - Allow test-specific timeouts to be specified in cppunittest.ini, r=chmanchester
--HG--
extra : commitid : KHoHs6bXJln
2015-08-12 16:25:56 -07:00
Sebastian Hengst 4bf9aa2b08 Backout bedff4a78d9a (bug 1190474) for B2G ICS Emulator Cpp unittests permafail. r=backout 2015-08-13 09:08:45 +02:00
Jonathan Griffin 97fb05e7fd Bug 1190474 - Allow test-specific timeouts to be specified in cppunittest.ini, r=chmanchester
--HG--
extra : commitid : Dylb8zPXhh4
2015-08-12 16:25:56 -07:00
Chris Manchester 46566aee20 Bug 1183232 - Allow selecting tests and suites with just a tag from mach try. r=ahal,gps
--HG--
extra : commitid : 7vcXR0ipE8b
2015-08-06 10:19:31 -07:00
Andrew Halberstadt 2be5ff0c10 Bug 1014760 - Move mozlog.structured to mozlog; Move mozlog to mozlog.unstructured, r=jgraham
Mozlog currently has two implementations. The top level package is based on the logging module and is
deprecated. The newer structured logging implementation lives in mozlog.structured. This patch swaps the
two, so the top level mozlog module contains the recommended implementation, while mozlog.unstructured
contains the old one.

--HG--
rename : testing/mozbase/docs/mozlog_structured.rst => testing/mozbase/docs/mozlog.rst
rename : testing/mozbase/mozlog/mozlog/structured/commandline.py => testing/mozbase/mozlog/mozlog/commandline.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/__init__.py => testing/mozbase/mozlog/mozlog/formatters/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/base.py => testing/mozbase/mozlog/mozlog/formatters/base.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/errorsummary.py => testing/mozbase/mozlog/mozlog/formatters/errorsummary.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/__init__.py => testing/mozbase/mozlog/mozlog/formatters/html/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/html.py => testing/mozbase/mozlog/mozlog/formatters/html/html.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/main.js => testing/mozbase/mozlog/mozlog/formatters/html/main.js
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/style.css => testing/mozbase/mozlog/mozlog/formatters/html/style.css
rename : testing/mozbase/mozlog/mozlog/structured/formatters/html/xmlgen.py => testing/mozbase/mozlog/mozlog/formatters/html/xmlgen.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/machformatter.py => testing/mozbase/mozlog/mozlog/formatters/machformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/tbplformatter.py => testing/mozbase/mozlog/mozlog/formatters/tbplformatter.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/unittest.py => testing/mozbase/mozlog/mozlog/formatters/unittest.py
rename : testing/mozbase/mozlog/mozlog/structured/formatters/xunit.py => testing/mozbase/mozlog/mozlog/formatters/xunit.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/__init__.py => testing/mozbase/mozlog/mozlog/handlers/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/base.py => testing/mozbase/mozlog/mozlog/handlers/base.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/bufferhandler.py => testing/mozbase/mozlog/mozlog/handlers/bufferhandler.py
rename : testing/mozbase/mozlog/mozlog/structured/handlers/statushandler.py => testing/mozbase/mozlog/mozlog/handlers/statushandler.py
rename : testing/mozbase/mozlog/mozlog/structured/logtypes.py => testing/mozbase/mozlog/mozlog/logtypes.py
rename : testing/mozbase/mozlog/mozlog/structured/reader.py => testing/mozbase/mozlog/mozlog/reader.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/__init__.py => testing/mozbase/mozlog/mozlog/scripts/__init__.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/format.py => testing/mozbase/mozlog/mozlog/scripts/format.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/logmerge.py => testing/mozbase/mozlog/mozlog/scripts/logmerge.py
rename : testing/mozbase/mozlog/mozlog/structured/scripts/unstable.py => testing/mozbase/mozlog/mozlog/scripts/unstable.py
rename : testing/mozbase/mozlog/mozlog/structured/stdadapter.py => testing/mozbase/mozlog/mozlog/stdadapter.py
rename : testing/mozbase/mozlog/mozlog/structured/structuredlog.py => testing/mozbase/mozlog/mozlog/structuredlog.py
rename : testing/mozbase/mozlog/mozlog/logger.py => testing/mozbase/mozlog/mozlog/unstructured/logger.py
rename : testing/mozbase/mozlog/mozlog/loggingmixin.py => testing/mozbase/mozlog/mozlog/unstructured/loggingmixin.py
rename : testing/mozbase/mozlog/mozlog/loglistener.py => testing/mozbase/mozlog/mozlog/unstructured/loglistener.py
extra : commitid : 3JWk75JY4N0
extra : rebase_source : 229bad7a7bf8ead013ce62d128c0896a75cad393
2015-07-16 10:38:40 -04:00
Nicolas B. Pierron 96bd1b779a Bug 1178772 - Add check_macroassembler_style.py: Verify that each MacroAssembler declaration maps to all its definitions. r=h4writer 2015-07-09 14:35:29 +02:00
Gregory Szorc 2082ddf73d Bug 1176642 - Defer import of autotry and pprint; r=chmanchester
This was the only mach_commands.py file importing these modules. Defer
import so mach doesn't work so hard during startup.

--HG--
extra : commitid : FrmvodfVdUZ
extra : rebase_source : 48233660e04bf043b99c6a067c468b532c41f889
2015-06-25 12:11:34 -07:00
Gregory Szorc 3e949ee8fe Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.

--HG--
extra : commitid : 6tFME1KKfTD
extra : rebase_source : 78728f82f5487281620e00c2a8004cd5e1968087
2015-06-21 17:39:09 -07:00
Chris Manchester 739f604bcb Bug 1173622 - Add a thorough docstring and clean up comments on the |mach try| command.;r=ahal
--HG--
extra : commitid : EWpv3RQ9v05
2015-06-13 22:22:44 -07:00
Gregory Szorc 67e6a15a08 Bug 1173633 - Print docstrings of mach command handlers in help output; r=ahal
`mach help <command>` currently only displays a brief description of the
command along with its arguments. Sometimes more detailed help text is
needed.

With this commit, the docstrings of mach command handlers will appear in
the output of `mach help <command>` if they are defined.

I've implemented basic docstrings for the three flavors of mach commands
(normal command, main subcommand, subcommand) to demonstate things work.

My hope is others will start to fill in docstrings once this feature
lands so the output for `mach help` can serve as a better learning guide
for new contributors.

--HG--
extra : commitid : Hx6ZkHDxbCK
extra : rebase_source : 01ced5a044442e370a45cd3fb245ac6283316925
extra : amend_source : fceb771e0e1ffa4e6f3f1b7c22eae6e25cf82034
2015-06-11 08:32:02 -07:00
Chris Manchester 7c8e569eaf Bug 1149670 - Add a mach command to find tests in specified directories and prepare a commit to push them to try.;r=ahal
--HG--
extra : commitid : EDP1u6cliJy
2015-05-28 15:57:21 -07:00
James Graham d27ca37fce Bug 1169410 Add support for web-platform-tests to |mach test| r=gps
--HG--
extra : rebase_source : 9a1fb715e0844a61c47a1de53f8a4a54ff2e05f0
extra : amend_source : 8fb1e54b76ae543fa2b01002c2d300334dc051be
2015-05-28 20:27:23 +01:00
Andrew Halberstadt c1b689da45 Bug 1169799 - Update |mach test| suites to reflect new |mach mochitest| command, r=chmanchester
--HG--
extra : rebase_source : 91c3bd23f5160e157b245ef504da03bd48cfc20a
2015-05-29 17:05:34 -04:00
Eric Rahm 208bad3ba8 Bug 1164121 - Add |mach| command to run jsapi-tests. r=sfink
Provides a |mach jsapi-tests <optional_test_name>| command.
2015-05-15 15:41:50 -07:00
Tooru Fujisawa e34cb84e15 Bug 1161410 - Part 2: Use --jitflags instead of --tbpl and --tbpl-debug. r=sfink 2015-05-08 00:28:55 +09:00
Alexandre Poirot c5e3c63860 Bug 1147031 - Write mach command for luciddream. r=jgriffin 2015-04-09 11:46:00 -04:00
Ryan VanderMeulen 720e898086 Backed out changeset a209d4d37f8f (bug 1147031) for Luciddream bustage. 2015-04-07 11:48:46 -04:00
Alexandre Poirot 72aa4edbeb Bug 1147031 - Write mach command for luciddream. r=jgriffin 2015-04-02 10:55:00 -04:00
J. Ryan Stinnett 5d71dc97bc Bug 1068676 - Make mach test understand subsuites. r=jmaher 2015-02-06 14:36:59 -06:00
Dan Minor 7c19db87c2 Bug 1087567 - Add proper manifest for cppunit tests; r=ted
--HG--
extra : rebase_source : 622e454f491462d9d2c4125d1309a28854a92b0b
2014-10-28 09:38:21 -04:00
Chris Manchester 644813fdf7 Bug 1034272 - Convert cppunittests to structured logging.;r=ted 2014-07-10 09:33:39 -04:00
Sylvestre Ledru 2e0c1ce1ec Bug 1050715 - Update the description of the various tests targed proposed by './mach help' r=jmaher
--HG--
extra : rebase_source : 29019a02711ffce5c148787517051855259b6446
2014-08-09 15:37:29 +02:00
Ting-Yu Lin dea8ddcd04 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 9789943e26 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 abdad797bb 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 fad88c963e 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 d0f5dae6ab Bug 983948 - Add mach mochitest-devtools r=jmaher 2014-03-25 16:52:53 +00:00
Dan Minor 038f3006fd Bug 988849 - Add mach target for jit tests; r=gps 2014-03-27 10:16:14 -04:00
Dan Minor bb4ff66fb2 Bug 949538 - Add mach target for cpp unittests; r=gps 2014-01-02 10:19:35 -05:00
Nicholas Nethercote cb93cef678 Bug 631842 (part 2) - Implement |mach valgrind-test|. r=gps. 2013-12-18 17:36:08 -08:00
Gregory Szorc 483d49a42c 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