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

166 Коммитов

Автор SHA1 Сообщение Дата
Ted Mielczarek 2c59757b3c bug 1407368 - rename Breakpad's src/common/memory.h. r=gsvelto
memory.h conflicts with a system header, so we have workarounds to
change include paths to work around this.

This is mostly a cherry-pick of this upstream commit:
8bb3d55af7

..but the patch was applied separately to toolkit/crashreporter/google-breakpad
and toolkit/crashreporter/breakpad-client since we've forked the latter,
and there's also one other fixup of a source file included.

MozReview-Commit-ID: HH92HZG7y9n

--HG--
rename : toolkit/crashreporter/google-breakpad/src/common/memory.h => toolkit/crashreporter/google-breakpad/src/common/memory_allocator.h
rename : toolkit/crashreporter/google-breakpad/src/common/memory_unittest.cc => toolkit/crashreporter/google-breakpad/src/common/memory_allocator_unittest.cc
extra : rebase_source : d321475099f000482689d6a6fb8629274ee19a65
extra : histedit_source : d526c27d952dbe73aee87e24701e2a862e1ca3d2
2017-10-17 19:44:36 -04:00
David Major 406287685a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 15:05:40 -04:00
Sebastian Hengst 142b3bf28b Backed out changeset 109e89a7d561 (bug 1391420) for busting Linux pgo builds. r=backout on a CLOSED TREE
--HG--
extra : amend_source : 6a4421254e4de31071785b73abdd1186638e31f2
2017-08-23 18:12:46 +02:00
David Major 8cb2cb650a Bug 1391420: Set NO_PGO on a bunch of binaries that we don't ship. r=ted 2017-08-23 11:10:39 -04:00
Andrew Halberstadt 88348cfd21 Bug 1382775 - Move testing/tools/autotry to tools/tryselect/selectors/syntax.py, r=chmanchester
The |mach try| implementation isn't really testing specific so figured while doing this refactor
anyway we could take the opportunity to move it to /tools. This renames the "autotry" module to
"syntax" as one of the 'selectors' under the newly created tryselect module.

MozReview-Commit-ID: DmnGU5sKuCk

--HG--
rename : testing/tools/autotry/autotry.py => tools/tryselect/selectors/syntax.py
extra : rebase_source : 52f2a61d97107b8d50e3894ea0f5cd9c24d4108d
2017-07-17 21:36:23 -04:00
Ed Lee 37b62d73cb Bug 1382827 - |mach try --artifact| should remove |--artifact| if "-nightly" platforms are requested. r=chmanchester
MozReview-Commit-ID: Dqle5sBlZNr

--HG--
extra : rebase_source : d165af63dc433188fc00e778082572d5f1d35858
2017-07-20 13:37:31 -07:00
Bryce Van Dyk 6b2d7e6552 Bug 1372051 - Remove external media tests from /testing, /build, /python. r=maja_zf
MozReview-Commit-ID: 7X2kYf7HLZY

--HG--
extra : rebase_source : 09421cf96c4d214795362e0f53c51310bff0abba
2017-06-12 10:27:42 +12:00
James Graham 4480587bb8 Bug 1294820 - Add support for running wpt from one-click loaner mach environment, r=ahal
Allow running |mach wpt| on one click loaners in order to run
web-platform-tests tests.

This implementation is just like the one for other testsuites using
thee packaged tests rather than the checkout that we get with wpt, at
least on Linux. That's also where the tests run from so it seems
reasonable for now. Moving to the checkout in the future could remove
some of the logic here by using a fake mozbuild environment so that
the testsuite itself doesn't have to implement anything much.

MozReview-Commit-ID: CaewrdjJ2ef

--HG--
extra : rebase_source : 491b8014d48f06ff5bd41b28cc985608981fbdf4
2017-06-19 19:20:41 +01:00
Andrew Halberstadt a3a1865e5a Bug 1368438 - Add -j to mach try, r=chmanchester
The -j try syntax specifies a "job" task. Job tasks are different from
unittests in that they typically don't require a build and run from the
source tree. Examples include linters (eslint, flake8, etc), python tests
(mozbase, mochitest, etc) and misc things like doc generation.

Sometimes, developers might only want to run a specific "job" task with a
syntax like "./mach try -j mozbase".

This means a few assumptions need to be broken in |mach try|. Platforms
and unittests should no longer be required if -j was specified. Most of
the changes in this patch revolve around dealing with those broken
assumptions.

MozReview-Commit-ID: O0y6V2Wwej

--HG--
extra : rebase_source : d003380317cbb688fcc7113c454a5c0543ade40c
2017-06-15 08:14:22 -04:00
Andrew Halberstadt 556a61bdeb Bug 1368438 - Make it possible to only schedule builds with |mach try|, r=chmanchester
Currently if no unittests, paths or tags are specified it will error out.

MozReview-Commit-ID: O0y6V2Wwej

--HG--
extra : rebase_source : e7a438aa1131e3d473459c46fbe9f23c3c06bae1
2017-06-15 08:14:17 -04:00
Steve Fink 10d8b00d0a Bug 1343568 - Add --upload-xdbs option to mach try, r=chmanchester
--HG--
extra : rebase_source : cbd9d0e5c7cc28d596792b58866ea25246fddb96
extra : histedit_source : 318b3e52de89225d7703adda498d3a666a8e602e
2017-06-07 08:55:50 -07:00
Geoff Brown 7ddd9b699d Bug 1355260 - Allow for variability in mochitest-dt and bc e10s names in try syntax; r=chmanchester 2017-04-12 09:15:55 -06:00
Chris Manchester 3ec42b2050 Bug 1343361 - Auomatically replace `-u all` with a set of suites that do not include compiled tests when requesting an artifact build via |./mach try|. r=maja_zf
MozReview-Commit-ID: BYgzbYrbw7E

--HG--
extra : rebase_source : be8c202361fcef0a47983371d370b1ace27cecbe
2017-02-28 14:27:57 -08:00
Andrew Halberstadt 30b62c7940 Bug 1337828 - Pass unexpected test paths as is from mach_test_package_bootstrap to the test harness, r=maja_zf
This was a bug in the mach test package bootstrap that could happen in one-click loaners. If a user neglected to
pass in --flavor, this meant that instead of a nice error message out of mochitest, they'd get a cryptic
traceback.

With this fix, it will be obvious that the problem is "no tests were found".

MozReview-Commit-ID: 5LEQFVDoJrT

--HG--
extra : rebase_source : 90683afe5e6b6b97c085d5ef44d75b4a7d846c90
2017-02-09 09:55:18 -05:00
Andrew Halberstadt 1abba2da72 Bug 1334209 - Activate mozharness virtualenv in-process from one click loaner mach commands, r=jmaher
Previously the run-wizard script would add a command to source the virtualenv in ~/.bashrc after
mozharness finished setting things up. This is fragile, assumes people are using bash, etc. Plus
it appeared to intermittently fail for some users.

Instead, this activates the virtualenv directly from individual mach commands that need it. This
guarantees we will always be using the virtualenv if required (and won't be using it if not). The
'activate_this.py' script is invoked the same way that we do it for in-tree mach commands:
https://dxr.mozilla.org/mozilla-central/rev/9c06e744b1befb3a2e2fdac7414ce18220774a1d/python/mozbuild/mozbuild/virtualenv.py#456

MozReview-Commit-ID: CfcoiVJXQTl

--HG--
extra : rebase_source : da01d1ce1bd9b41c89922e989f857c4de8c09341
2017-01-31 11:53:36 -05:00
Bob Clary d08efadb1f Bug 1279259 - make TURN server port configurable, r=jmaher. 2017-01-25 01:56:45 -08:00
Byron Campen [:bwc] 62f42d4fbf Bug 1056934 - Part 1: TLS support in the test ICE server. r=drno
MozReview-Commit-ID: 9Vz87jqHwGc

--HG--
extra : rebase_source : 23f11c1b9e46234799129cdb05ad5b978506f5be
2016-12-16 17:04:56 -06:00
Joel Maher f4ffd9a3ee Bug 1326467 - remove old testing/tools/ files. r=ted
MozReview-Commit-ID: H647RF4nhAu
2017-01-06 11:33:45 -05:00
Andrew Halberstadt e0db59de86 Bug 1312739 - Fix marionette SEARCH_PATHS in mach_test_package_bootstrap.py, r=jmaher
In bug 1320073, the marionette package structure was refactored a bit. This made the SEARCH_PATHS
in the mach test package bootstrap outdated. While this didn't end up causing any errors due to
marionette also appearing in an activated virtualenv, it should still be fixed. Figured since I was
in the area, I would just piggy-back off this commit series rather than filing a new bug.

MozReview-Commit-ID: DCNz3xEVJfY

--HG--
extra : rebase_source : 56f37475770fb4848a6413111e15b37f94164e04
2016-12-20 14:08:21 -05:00
Phil Ringnalda c97f1c6da6 Backed out 3 changesets (bug 1312739) for "'NoneType' object has no attribute 'startswith'" bustage in everything mochitest
CLOSED TREE

Backed out changeset 1f3f88337227 (bug 1312739)
Backed out changeset ecb1d15e8075 (bug 1312739)
Backed out changeset b2adce340421 (bug 1312739)
2016-12-21 20:19:24 -08:00
Andrew Halberstadt 94d7458277 Bug 1312739 - Fix marionette SEARCH_PATHS in mach_test_package_bootstrap.py, r=jmaher
In bug 1320073, the marionette package structure was refactored a bit. This made the SEARCH_PATHS
in the mach test package bootstrap outdated. While this didn't end up causing any errors due to
marionette also appearing in an activated virtualenv, it should still be fixed. Figured since I was
in the area, I would just piggy-back off this commit series rather than filing a new bug.

MozReview-Commit-ID: DCNz3xEVJfY

--HG--
extra : rebase_source : 5f019d2ca80e008e89c8b9bc93722534f103a58c
2016-12-20 14:08:21 -05:00
Gabriele Svelto 8cbbe7f4b5 Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted
* * *
Bug 1264367 - Accomodate for the new version of Breakpad
2016-10-05 11:46:07 +02:00
Wes Kocher 265355461f Backed out changeset 1adfbab318a6 (bug 1264367) for breaking crash stacks CLOSED TREE
--HG--
extra : amend_source : 3dc85338e38502f95b5f667babbd6cf0282c70d1
2016-10-03 14:50:27 -07:00
Gabriele Svelto 829aa6173a Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted 2016-10-03 13:43:28 +02:00
Maja Frydrychowicz 59cb034070 Bug 1278702 - Error out when compiled-code test is requested with artifact build; r=chmanchester
MozReview-Commit-ID: Es66ZuFq6PJ

--HG--
extra : rebase_source : 06b0ca116023c011aa3ba71803396223e2c8df0c
2016-09-21 14:22:34 -04:00
Phil Ringnalda a6e7ea4e26 Backed out changeset af84ff6bfd7e (bug 1264367) for causing crash stacks to lack symbols
CLOSED TREE
2016-09-15 19:15:45 -07:00
Gabriele Svelto 6fc3c4e6fd Bug 1264367 - Upgrade breakpad to upstream revision 704f41ec901c419f8c321742114b415e6f5ceacc r=ted 2016-09-15 17:31:13 +02:00
Andrew Halberstadt 97f0fbd35d Bug 1300163 - Add support for Android mochitests to interactive loaners, r=armenzg
This will allow developers to request a loaner for an Android mochitest job and then use
|mach mochitest| to run tests.

MozReview-Commit-ID: 4lsKGpizfH7

--HG--
extra : rebase_source : fba9adb6e2d50cc9ac27532bc91b5eb1d909d874
2016-09-02 14:43:53 -04:00
Andrew Halberstadt fb05814e0d Bug 1300163 - Lazy load certain mach context attributes using the 'key' mechanism, r=armenzg
You can set attributes on a mach context by using the 'key' argument to the context_handler. Basically,
whatever gets returned by the handler when <key> is passed in, will get set (i.e cached) on the context
object for fast retrieval next time. This is a way to lazy load these attributes.

Previously I was setting functions like 'find_firefox()' on the context object, and then having the
mach_commands call that directly. But this way is much cleaner.

Now, the loaded 'mozharness_config' can be stored as an attribute on the context. Also 'find_firefox()'
is now an attribute called 'firefox_bin'.

MozReview-Commit-ID: 4lsKGpizfH7

--HG--
extra : rebase_source : af5e32e05a29b8e91d4cd0005689baa8079ec137
2016-09-02 14:35:14 -04:00
Andrew Halberstadt a757814e36 Bug 1296067 - Add mach test package integration for marionette-test, r=armenzg
This makes it possible to run |mach marionette-test| from a test package (and therefore
also an interactive loaner).

MozReview-Commit-ID: Lxhe8KMQaWq

--HG--
extra : rebase_source : ee2c01a80d863c2044d8d30b0e5116c8a9704253
2016-08-17 12:04:37 -04:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Andrew Halberstadt da291f0301 Bug 1278890 - Add reftest support to test package mach environment, r=armenzg
This adds reftest support to the test package mach environment. It will allow
developers to easily run reftests after checking out an interactive worker.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : 84b4a9fff7f2f27a325ffad4af1de7726bad296e
2016-07-13 10:57:22 -04:00
Andrew Halberstadt d3c5539c81 Bug 1278890 - Add xpcshell support to test package mach environment, r=armenzg
This adds the 'xpcshell-test' command to the mach environment found in the test
package. This will allow developers to easily run xpcshell after checking out
and interactive worker.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : 71077c9142f33843ed87d4bc4617a780f775939b
2016-07-13 10:55:37 -04:00
Andrew Halberstadt 57cb071e1b Bug 1278890 - Add a method for normalizing test paths to the test package mach environment, r=armenzg
The test path structure is slightly different in the test package compared to a srcdir. So we may need
to normalize the specified paths such that they are relative to a srcdir. Because every test harness
needs to do this, this method is being added to the bootstrap for re-use.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : b4cedaecfeab777971c9840e932c0aa2bff88240
2016-07-13 10:49:42 -04:00
Andrew Halberstadt a286d3bf33 Bug 1278890 - Search for a firefox binary in the test package mach bootstrap, r=armenzg
When running test harnesses from the test package, the firefox binary will live somewhere
outside of the mach context. There are two common situations where a developer might be
running from a test package:
1) From a mozharness context
2) From an objdir context

This patch will attempt to detect either of those situations and automagically find the
firefox binary.

MozReview-Commit-ID: fBAbfuG5XQ

--HG--
extra : rebase_source : 53c87a83bacf6b90a5849559f5616b7a45970627
2016-07-13 10:50:13 -04:00
Chris Manchester 6167f8d527 Bug 1281937 - Provide a more helpful error message when `./mach try` fails to push to try. r=jdm
MozReview-Commit-ID: G17BmFo1fTA
2016-06-29 13:12:18 -07:00
Chris Manchester 26a0b6c6cd Backed out changeset c407d7f3ba96 (bug 1258451) for causing issues for users of `./mach try`
MozReview-Commit-ID: EJZKxaRnQxe
2016-06-29 13:12:18 -07:00
Chris Manchester 4814ca9f66 Backed out changeset b34ff89e8bba (bug 1258451)
MozReview-Commit-ID: 1E3tic7Zso9
2016-06-29 13:12:17 -07: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
Phil Ringnalda 98d7a9d9c5 Merge m-i to m-c, a=merge 2016-06-25 16:23:43 -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
Jared Wein e983d3aa29 Bug 1258451 - Add a whitelist to 'mach try' for platforms, unittest suites, and talos suites. r=chmanchester
MozReview-Commit-ID: 6Hh7xGoulsC

--HG--
extra : rebase_source : 4c61f36360948374544016edf46dffa63d1323a1
2016-06-22 11:19:00 -04:00
Chris Manchester 359319b18b Bug 1258451 - Fixup to make `-p all` an acceptable platform selection in mach try. r=me
MozReview-Commit-ID: 2dXP3sPcJgX
2016-06-24 11:07:58 -07:00
Andrew Halberstadt a8e509a525 Bug 1278900 - Fix up the test package mach bootstrap script, r=armenzg
This is a bit of a hodge podge of small fixes that I needed to run |mach mochitest|
on an interactive worker. Included:

1) Add some packages to SEARCH_PATHS that mochitest needs
2) Always add SEARCH_PATHS even if mach package is found
3) Don't try to register commands that don't exist (i.e it was in an unused test zip)

MozReview-Commit-ID: BIXcCm4LzE2

--HG--
extra : rebase_source : 6ab5ba4e941fd26a4c126a42c2df468d0251730c
2016-06-08 10:41:13 -04:00
Byron Campen [:bwc] ba155973d6 Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5

--HG--
extra : rebase_source : 7f1d48ce6b6d042c01efa68cf84a3afd4f43384c
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc] e1f116b2c7 Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp

--HG--
extra : rebase_source : 340531e580f5035be044807def4927fbd138d0ed
extra : source : 717ac54d91b1c341c35d9fb9fdc620dabd6040d9
2016-03-15 17:02:00 -05:00
Byron Campen [:bwc] a74abced8d Bug 1231981 - Part 1: Very basic test TURN server for running in CI. r=ahal,drno
MozReview-Commit-ID: 96vhyPCs99p

--HG--
extra : rebase_source : 12fa3a2f79c3ff8d9d0d438f96e78fea3b51c785
extra : source : ce0070f40160de58b31944d0c0fd971476726dae
2016-04-26 09:29:03 -05:00
Wes Kocher 20598f44f6 Backed out changesets baa6c68ec413,5b8583070c9e,2942bb31152c,dd2ad6863f53,c68772362633,c8db6695b991 (bug 1231981) a=backout
MozReview-Commit-ID: EoGyz071RoN

--HG--
extra : amend_source : 69d6593ae0a946ed6366513a2e186b43c7435440
extra : histedit_source : cdce5a0698d6e7996ae731cff56263abc202ae65%2Ca62e94bdb37fc3e9266884f283d732e61e0f4715
2016-04-27 10:24:37 -07:00
Byron Campen [:bwc] d7586bf7c1 Bug 1231981 - Part 4: Pull in the necessary python dependencies in CI. r=ahal
MozReview-Commit-ID: AkmzbnI4Lq5

--HG--
extra : rebase_source : 52c5cf00cca6acab4bfa1a7de927c322f9539ace
extra : source : 9060aea1dd3a91974484ef00fe3d2831ea22a985
2016-03-15 16:27:36 -05:00
Byron Campen [:bwc] 91dc57493a Bug 1231981 - Part 2: A websocket-to-process bridge script that can be used by JS to launch an ICE server for testing. r=ahal
MozReview-Commit-ID: FbfNzyw9SZp

--HG--
extra : rebase_source : 38fe539b1f2ec1e6dc15e9630c37a6dec590f6c2
extra : source : 717ac54d91b1c341c35d9fb9fdc620dabd6040d9
2016-03-15 17:02:00 -05:00