Commit Graph

74 Commits

Author SHA1 Message Date
Andrew Halberstadt
ed223b9880 Bug 1243083 - Enable e10s by default when using chunk-finder, r=jgraham
MozReview-Commit-ID: NlTGwdQ2nw
2016-04-01 11:03:08 -04:00
Chris Manchester
a22312511f 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
158e768b0f 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
2016-03-18 11:20:32 -07:00
Ted Mielczarek
e44beeede9 bug 1255479 - make mach python-tests use TestResolver for discovery, make mach test work for python tests. r=nalexander
MozReview-Commit-ID: CK2Vh6gdnb0
2016-03-10 12:30:10 -05:00
Myk Melez
11388a70ad Bug 1238079 - remove the desktop web runtime; r=fabrice,mossop,gps,jryans,jmaher,marco 2016-03-07 13:33:12 -08:00
Chris Manchester
98dabbd81a 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
7e3ed1b7eb Backed out changeset c6617c4a27b4 (bug 1238305) for android cpp failures 2016-01-29 15:01:46 -08:00
Aaron Klotz
7e9f8f89c4 Bug 1238305: Modify cppunittests to look up breakpad symbols for logged stack traces; r=ted 2016-01-12 12:58:59 -07:00
Andreas Tolfsen
8da36f680b Bug 1205687 - Add Mn test flavour and include tests in build manifests; r=jgraham 2015-09-18 14:53:37 +01:00
Chris Manchester
6f9c336008 Bug 1233506 - Only accept positional arguments to mach try that are directories. r=jgraham 2015-12-17 12:38:32 -08:00
Chris Manchester
b80b3b036b Bug 1230596 - Allow running talos on specific platforms through mach try. r=jgraham 2015-12-07 15:13:03 -08:00
James Graham
4668bd68f0 Bug 1216950 - Add --list to |mach try| to display saved try strings, r=chmanchester 2015-10-23 00:57:39 +01:00
James Graham
be3e63938a 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
1644855154 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.
2015-10-01 10:10:45 -07:00
James Graham
d15401f8ce 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
863dd5e50f Bug 1209701 - Don't require platforms as input to |./mach try| if set in the environment. r=jgraham 2015-09-30 16:38:20 -07:00
Chris Manchester
c60af42477 Bug 1184405 - Use file metadata from files changed in the current branch in mach try when no other arguments are present. r=jgraham 2015-09-30 16:38:20 -07:00
James Graham
d0b702beb1 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
6d69ee3d18 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
5da664e368 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
ef8c1bf334 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)
2015-09-25 13:13:54 +02:00
James Graham
62c62a7b09 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
631562e7fb 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
1373330a8c 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
be8db97200 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
fd5fa790a5 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
cb1309891d 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
ed128fe1cc 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
4cc532bd15 Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-17 10:50:57 +01:00
Geoff Brown
eddda2f5de Bug 1090276 - Support mach cppunittest on Android; r=dminor 2015-09-14 08:40:35 -06:00
Nigel Babu
1e052456be 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
eb6a9ae1d2 Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-14 09:46:57 +01:00
Carsten "Tomcat" Book
2b181b0d92 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
3f6179b33e Bug 1193223 - Add reftest support to mach test, r=chmanchester 2015-09-11 12:30:12 +01:00
Chris Manchester
081241275c Bug 1202213 - Always print the calculated syntax from mach try when --no-push is present. r=ahal 2015-09-10 10:20:59 -07:00
Vaibhav Agrawal
29f5b1e1f5 Bug 999450 - Make find-test-chunk automatically detect test flavor and subsuite via TestResolver. r=chmanchester 2015-09-02 13:18:08 -07:00
Vaibhav Agrawal
7f59cd73ca Bug 999450 - Adding --platform to make find-test-chunk detect chunk for a test for another platform. r=chmanchester 2015-09-03 21:32:53 -07:00
Vaibhav Agrawal
20c25fdce1 Bug 999450 - Adding --debug to make find-test-chunk detect chunk for a test for a debug build. r=chmanchester 2015-08-31 22:52:07 -07:00
Vaibhav Agrawal
221fedf3d8 Bug 999450 - Adding --e10s option to make find-test-chunk detect chunk for a test on e10s platform. r=chmanchester 2015-09-01 21:19:21 -07:00
Vaibhav Agrawal
e120c8d362 Bug 999450 - Make find-test-chunk detect if a test is disabled on a platform. r=chmanchester 2015-09-01 21:10:23 -07:00
Vaibhav Agrawal
f103ea8e3b Bug 999450 - Add find-test-chunk command in mach to discover the chunk for a mochitest on a platform. r=chmanchester 2015-08-26 16:51:15 -07:00
Chris Manchester
1a37e2d6cc Bug 1197829 - Don't invoke the build system if paths or tags aren't passed to mach try. r=ahal 2015-08-26 12:48:28 -07:00
Julien Pagès
9393cdafbf Bug 1194789 - Disable mochitest-ipcplugins and remove mochitest-ipcplugins code. r=jgriffin 2015-08-17 20:34:25 +02:00
Jonathan Griffin
c8edf4f6e5 Bug 1190474 - Allow test-specific timeouts to be specified in cppunittest.ini, r=chmanchester 2015-08-12 16:25:56 -07:00
Sebastian Hengst
eb1e0b7375 Backout bedff4a78d9a (bug 1190474) for B2G ICS Emulator Cpp unittests permafail. r=backout 2015-08-13 09:08:45 +02:00
Jonathan Griffin
64f39c8e9c Bug 1190474 - Allow test-specific timeouts to be specified in cppunittest.ini, r=chmanchester 2015-08-12 16:25:56 -07:00
Chris Manchester
c9fc596dc9 Bug 1183232 - Allow selecting tests and suites with just a tag from mach try. r=ahal,gps 2015-08-06 10:19:31 -07:00
Andrew Halberstadt
5c1241cd79 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.
2015-07-16 10:38:40 -04:00
Nicolas B. Pierron
4e705e56d0 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
fdd12ffbfa 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.
2015-06-25 12:11:34 -07:00