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

125 Коммитов

Автор SHA1 Сообщение Дата
Anthony Ramine 71bb1a15ff Bug 1591538 - Don't include taskcluster stuff in SM tarball; r=sfink
We can just not add the directory to DIRS if JS_STANDALONE is true.

Differential Revision: https://phabricator.services.mozilla.com/D50739

--HG--
extra : moz-landing-system : lando
2019-11-18 08:47:00 +00:00
Mike Shal 3b8df1c395 Bug 1580028 - Always merge PGO profile data in the run task; r=firefox-build-system-reviewers,chmanchester
If the run task generates bad profile data, the merge step in the
profile-use task will fail. However, retrying the profile-use task
doesn't fix the problem, and there isn't a straightforward way to retry
the run task in this situation. Instead we can add a clang toolchain to
all the run tasks, and perform the merge there.

This means the output from the run task will always be a successfully
merged file called 'merged.profdata', and we no longer need to perform
the merge as part of the profile-use build as a GENERATED_FILES step.

Depends on D45262

Differential Revision: https://phabricator.services.mozilla.com/D45263

--HG--
extra : moz-landing-system : lando
2019-09-10 21:56:15 +00:00
Mike Hommey 2c49da7d67 Bug 1575760 - Generate .cargo/config as part of the build rather than as a configure subst file. r=firefox-build-system-reviewers,chmanchester
We'll require preprocessing that configure subst files don't allow in
the next change, so prepare for that.

Differential Revision: https://phabricator.services.mozilla.com/D43011

--HG--
extra : moz-landing-system : lando
2019-08-22 21:27:24 +00:00
Matthew Gaudet 680c9fdc50 Bug 1560425 - Remove old performance measurement API r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D35522

--HG--
extra : moz-landing-system : lando
2019-07-02 14:37:17 +00:00
Bob Clary d8c7febb88 Bug 1522113 - schedule test-verify by test framework and directories rather than test source files, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D31622

--HG--
extra : moz-landing-system : lando
2019-05-17 22:29:33 +00:00
Bogdan Tara 0378171d4f Backed out changeset 8d14aa373383 (bug 1522113) for Bugzilla lint failures CLOSED TREE 2019-05-18 01:23:13 +03:00
Bob Clary 5bbc7c615d Bug 1522113 - schedule test-verify by test framework and directories rather than test source files, r=gbrown.
Differential Revision: https://phabricator.services.mozilla.com/D31622

--HG--
extra : moz-landing-system : lando
2019-05-17 17:22:38 +00:00
Mike Shal e4b57ecdda Bug 1507334 - Add mozconfigs for 3-stage PGO; r=firefox-build-system-reviewers,chmanchester#firefox-build-system-reviewers
These two mozconfigs are used for the 1st and 3rd stages of PGO.
'profile-generate' is used for the 1st stage to generate a firefox
binary with instrumentation enabled. Since it is only used for getting
profile data, we don't run tests against it or need crashreporter
symbol.s

The 'profile-use' mozconfig is for the 3rd and final stage were we
produce the fully optimized build. The profiling information and jarlog
are input artifacts produced by the 2nd stage (running the
profileserver).

Differential Revision: https://phabricator.services.mozilla.com/D15749

--HG--
extra : moz-landing-system : lando
2019-01-10 01:34:49 +00:00
Chris Manchester 0851ff9f4a Bug 1507344 - Add configure machinery for MOZ_PROFILE_USE and merging profile. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D13863

--HG--
extra : moz-landing-system : lando
2018-12-21 19:02:11 +00:00
Sebastian Hengst 8e870bf61e Bug 1508248 - Update in-tree bugzilla metadata to use 'Firefox Build System :: Mach Core' for mach files r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D12278

--HG--
extra : moz-landing-system : lando
2018-11-19 13:35:14 +00:00
Dave Hunt 046359060c Bug 1490253 - Replace pipenv with pip-tools for vendoring packages and dependencies; r=ahal
Depends on D7869

Differential Revision: https://phabricator.services.mozilla.com/D7870

--HG--
extra : moz-landing-system : lando
2018-10-10 08:58:41 +00:00
Dave Hunt 2ed70b195c Bug 1346026 - Vendor pipenv 2018.5.18 and transient dependencies; r=ahal
MozReview-Commit-ID: LNJVCNNHGDg

--HG--
extra : rebase_source : 296672ac301e12d1c6b5954eca844f7b0a527583
2018-05-17 19:06:20 +01:00
Joel Maher b6b767f893 Bug 1425929 - test-verify jobs should pick a virtualization appropriate to the test. r=gbrown 2018-04-24 10:20:19 -04:00
Sebastian Hengst d247fb5f4e Bug 1445763 - Update moz.build meta data with "Firefox Build System". r=froydnj
MozReview-Commit-ID: 3FrWJ6441pe

--HG--
extra : rebase_source : c8f1dc45041132252e28869ada6a386270267431
2018-03-14 21:44:46 +01:00
Matt Brubeck be08cdcdc1 Bug 1381576 - Use a Cargo workspace for rust crates. r=ted
MozReview-Commit-ID: K6B9SifddXu

--HG--
extra : source : bbae7807c164273f6bb123d680a4fc31202d7a61
extra : amend_source : 53505e25f63a8eb228e62a0a9f3bd3ed98950296
extra : histedit_source : 597464181d4b79f5ac1a511d23e2a05aefb266da%2C63b89f3699e0e9598c8355e7293f10795acc80e7
2018-03-01 14:33:35 -08:00
Dustin J. Mitchell 26d48b3202 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI

--HG--
extra : rebase_source : 8dd971e5c9b0eb5f47895664a4ea49442f303ecb
extra : source : 0881de9b2b5e36ec37cc866f1d4af109da57a919
2017-10-02 18:22:56 +00:00
Noemi Erli 1c9bbfbebc Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE
Backed out changeset f53f8adcd578 (bug 1403519)
Backed out changeset 5b293bcd3fc7 (bug 1403519)
2018-01-17 07:23:40 +02:00
Dustin J. Mitchell 00f03c413e Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI

--HG--
extra : rebase_source : 8dd971e5c9b0eb5f47895664a4ea49442f303ecb
extra : source : 0881de9b2b5e36ec37cc866f1d4af109da57a919
2017-10-02 18:22:56 +00:00
Margareta Eliza Balazs a331a849a4 Backed out changeset 6d539e4a02bd (bug 1403519) for lint failures on a CLOSED TREE 2018-01-11 22:32:27 +02:00
Dustin J. Mitchell 522245f2f2 Bug 1403519 - only build docs when necessary r=gps
This marks **/docs/** as exclusively docs, and code that is autodoc'd as
inclusively docs.

That means that a change that purely modifies documentation files will *only*
run `docs` tasks, while a change that modifies autodoc'd source code will
*additionaly* run `docs` tasks.  The tasks do not run by default.

MozReview-Commit-ID: G9tOK0AwtrI

--HG--
extra : rebase_source : 8dd971e5c9b0eb5f47895664a4ea49442f303ecb
extra : source : 0881de9b2b5e36ec37cc866f1d4af109da57a919
2017-10-02 18:22:56 +00:00
Dustin J. Mitchell 46f2dcd06b Bug 1403322: Switch jsreftests, jittests, test-verify to SCHEDULES; r=ahal
..and remove support for when.files-changed in the test kind.  It is still used
for other kinds, and that will be addressed in other bugs.

This is re-landing of this bug, now without running test-verify excessively.

MozReview-Commit-ID: GBilXAktICZ

--HG--
extra : rebase_source : 6cc9a3b5a365d74689946bfa0296f51bc08c2113
2017-12-20 00:39:21 +00:00
Mike Hommey 398c8e8356 Bug 1417309 - Add the necessary bits to support a --enable-project=memory option. r=nalexander
The option allows to iterate on the allocator code without requiring a
complete setup to build Firefox.
2017-11-16 08:37:36 +09:00
Mike Hommey 3d67bc07a1 Bug 1417309 - Move some definitions from top-level moz.build to application-specific moz.build files. r=nalexander
When building with a --enable-project that is neither js nor a
toolkit-based one (like browser or mobile/android), we don't want to be
building things that are specific to gecko and/or spidermonkey.

At the same time, this lifts the exception that js standalone doesn't
have an app.mozbuild included, and makes the moz.build parsers that
don't set a MOZ_BUILD_APP get the same information as they were through
toolkit.mozbuild.

We still keep mfbt, build and a few other DIRS set from the top-level,
because at the moment, there aren't really any --enable-project that
would benefit from those not being recursed.
2017-11-16 08:37:32 +09:00
Dustin J. Mitchell 6a322466ba Bug 1410911 - back out bug 1403322; r=gbrown
Backed out changesets 37db725b2308 ccc4f12edef0 e3a310b6b896 547109f6eb1d 5c50f100460d

MozReview-Commit-ID: 5M6Mevz6LZV

--HG--
extra : rebase_source : 038f10c09a6e1bcca1144a252b0c102496481349
2017-11-10 18:19:47 +00:00
Nathan Froyd 1fbcc23e45 Bug 1413538 - remove unused FILES_PER_UNIFIED_FILE from root moz.build; r=chmanchester
This value isn't actually used.
2017-11-01 13:50:00 -04:00
Joel Maher ede9d9fd21 Bug 1412916 - fill in missing bugzilla_components. r=gps 2017-10-30 19:07:20 -04:00
Sebastian Hengst 5c15da1f08 merge mozilla-inbound to mozilla-central. r=merge a=merge
--HG--
rename : testing/talos/tests/__init__.py => testing/talos/talos/unittests/__init__.py
rename : testing/talos/tests/browser_output.ts.txt => testing/talos/talos/unittests/browser_output.ts.txt
rename : testing/talos/tests/browser_output.tsvg.txt => testing/talos/talos/unittests/browser_output.tsvg.txt
rename : testing/talos/tests/profile.tgz => testing/talos/talos/unittests/profile.tgz
rename : testing/talos/tests/ps-Acj.out => testing/talos/talos/unittests/ps-Acj.out
rename : testing/talos/tests/test_talosconfig_browser_config.json => testing/talos/talos/unittests/test_talosconfig_browser_config.json
rename : testing/talos/tests/test_talosconfig_test_config.json => testing/talos/talos/unittests/test_talosconfig_test_config.json
rename : testing/talos/tests/xrestop_output.txt => testing/talos/talos/unittests/xrestop_output.txt
2017-10-27 12:45:34 +03:00
Ionut Goldan 9c2b03db60 Bug 1399800 - integrate pytest and add initial tests r=jmaher
MozReview-Commit-ID: FNQwCEtM1MB

--HG--
rename : testing/talos/tests/__init__.py => testing/talos/talos/unittests/__init__.py
rename : testing/talos/tests/browser_output.ts.txt => testing/talos/talos/unittests/browser_output.ts.txt
rename : testing/talos/tests/browser_output.tsvg.txt => testing/talos/talos/unittests/browser_output.tsvg.txt
rename : testing/talos/tests/profile.tgz => testing/talos/talos/unittests/profile.tgz
rename : testing/talos/tests/ps-Acj.out => testing/talos/talos/unittests/ps-Acj.out
rename : testing/talos/tests/test_talosconfig_browser_config.json => testing/talos/talos/unittests/test_talosconfig_browser_config.json
rename : testing/talos/tests/test_talosconfig_test_config.json => testing/talos/talos/unittests/test_talosconfig_test_config.json
rename : testing/talos/tests/xrestop_output.txt => testing/talos/talos/unittests/xrestop_output.txt
extra : rebase_source : 0e4652fcf1950926d87089e9b64b1da031920b21
2017-10-24 14:20:01 +03:00
Attila Craciun cef9ed856a Backed out changeset f80976fdf539 (bug 1399800) for failing in /builds/worker/checkouts/gecko/testing/talos/talos/unittests/conftest.py:1:1 r=backout CLOSED TREE.
Backed out changeset f80976fdf539 (bug 1399800)

--HG--
rename : testing/talos/talos/unittests/__init__.py => testing/talos/tests/__init__.py
rename : testing/talos/talos/unittests/browser_output.ts.txt => testing/talos/tests/browser_output.ts.txt
rename : testing/talos/talos/unittests/browser_output.tsvg.txt => testing/talos/tests/browser_output.tsvg.txt
rename : testing/talos/talos/unittests/profile.tgz => testing/talos/tests/profile.tgz
rename : testing/talos/talos/unittests/ps-Acj.out => testing/talos/tests/ps-Acj.out
rename : testing/talos/talos/unittests/test_talosconfig_browser_config.json => testing/talos/tests/test_talosconfig_browser_config.json
rename : testing/talos/talos/unittests/test_talosconfig_test_config.json => testing/talos/tests/test_talosconfig_test_config.json
rename : testing/talos/talos/unittests/xrestop_output.txt => testing/talos/tests/xrestop_output.txt
2017-10-26 16:07:39 +03:00
Ionut Goldan 8b45fa1364 Bug 1399800 - integrate pytest and add initial tests r=jmaher
MozReview-Commit-ID: FNQwCEtM1MB

--HG--
rename : testing/talos/tests/__init__.py => testing/talos/talos/unittests/__init__.py
rename : testing/talos/tests/browser_output.ts.txt => testing/talos/talos/unittests/browser_output.ts.txt
rename : testing/talos/tests/browser_output.tsvg.txt => testing/talos/talos/unittests/browser_output.tsvg.txt
rename : testing/talos/tests/profile.tgz => testing/talos/talos/unittests/profile.tgz
rename : testing/talos/tests/ps-Acj.out => testing/talos/talos/unittests/ps-Acj.out
rename : testing/talos/tests/test_talosconfig_browser_config.json => testing/talos/talos/unittests/test_talosconfig_browser_config.json
rename : testing/talos/tests/test_talosconfig_test_config.json => testing/talos/talos/unittests/test_talosconfig_test_config.json
rename : testing/talos/tests/xrestop_output.txt => testing/talos/talos/unittests/xrestop_output.txt
extra : rebase_source : 4048d8ef8f7b9352968115fb7125182b5e4e2907
2017-10-24 14:20:01 +03:00
Geoff Brown 97898a02d1 Bug 1410911 - Only run test-verify when certain file types are changed; r=dustin
When first introduced, test-verify was only run when .js/.html/.xul/.xhtml files
were changed. Recently, it seems to run on every push. This is a speculative fix:
There may be confusion between "test-verify" and "test-verification" so I am
using "test-verify" consistently.
2017-10-24 15:17:27 -06:00
Joel Maher c4d8ae8c99 Bug 1411585 - nsprpub/* has many missing files with no BUGZILLA_COMPONENT mapping in-tree. r=ted 2017-10-26 04:53:25 -04:00
Mike Hommey b59f673d22 Fixup for cramtests and some python tests after bug 1407468. r=me 2017-10-14 14:03:29 +09:00
Mike Hommey 9f2dd4775e Bug 1407468 - Replace multiple !JS_STANDALONE with MOZ_WIDGET_TOOLKIT. r=mshal
--HG--
extra : rebase_source : 4f9f9f583c3422ed0f8d1d65ea8e7575bd9baf2c
2017-10-05 14:50:01 +09:00
Mike Hommey 1c51789e7e Bug 1407468 - Only build js/src when building toolkit. r=mshal
--HG--
extra : rebase_source : 3112ad271f23e8d01dfbe9141ec2b4bdd80f3748
2017-10-05 11:30:18 +09:00
Dustin J. Mitchell 8a895872c0 Bug 1403322 - schedule test-verification inclusively; r=ahal
MozReview-Commit-ID: CsIUEq6CDln

--HG--
extra : rebase_source : 40ef63f09b5972ce2adb650b279be5d5fe48dd99
2017-10-11 17:36:16 +00:00
Mike Hommey 5350e718d0 Bug 1407464 - Remove probes/. r=ted
The files generated from the contents of probes/ are never used even
with dtrace enabled, and mozilla-trace.d actually never contained probes
definitions. The js engine has probes of its own, and separate scripts
to generate the corresponding source headers.
(see e.g. js/src/devtools/javascript-trace.d)

--HG--
extra : rebase_source : ad60902f087e81cdaced3bf858454e4cecfc8f11
2017-10-05 13:05:54 +09:00
Dustin J. Mitchell 4440d231f8 Bug 1383880: annotate source files with what they SCHEDULE; r=ahal
MozReview-Commit-ID: CR70dSg5R79

--HG--
extra : rebase_source : a46b7daa47680ac92f09988cbc3a205b72de06ed
extra : source : 8586bf76d73db40ef52142fff8f21cdb0b31cf31
2017-08-25 19:31:54 +00:00
Phil Ringnalda aad01e0dc2 Backed out 12 changesets (bug 1383880) for decision task bustage
CLOSED TREE

Backed out changeset fd3615e7e0a3 (bug 1383880)
Backed out changeset 8cceb6a82bfb (bug 1383880)
Backed out changeset 571a6c9054a5 (bug 1383880)
Backed out changeset ec2b8ba5a949 (bug 1383880)
Backed out changeset 8e5847d9acda (bug 1383880)
Backed out changeset b354fdf6e233 (bug 1383880)
Backed out changeset ebdd6ccbcfca (bug 1383880)
Backed out changeset ebcc9d20981a (bug 1383880)
Backed out changeset 97eedc84d6e8 (bug 1383880)
Backed out changeset a3116da52b4e (bug 1383880)
Backed out changeset b3eb0c939720 (bug 1383880)
Backed out changeset 7c07cb798530 (bug 1383880)

MozReview-Commit-ID: EPDuQHr7w2y
2017-09-20 19:57:39 -07:00
Dustin J. Mitchell 34ad3c6687 Bug 1383880: annotate source files with what they SCHEDULE; r=ahal
MozReview-Commit-ID: CR70dSg5R79

--HG--
extra : rebase_source : e930805bbf5fda35c19db26e3a7a2255fdf7fcd5
extra : source : 8586bf76d73db40ef52142fff8f21cdb0b31cf31
2017-08-25 19:31:54 +00:00
Andrew Halberstadt c3c1749786 Bug 1392390 - Create a reftest selftest harness, r=jmaher
This just adds two basic tests, one for a passing test and another for a
failing one. In mochitest, we use privileged APIs to also tests crashes,
assertions, asan and leaks. But these APIs aren't available to reftests
so I'm not sure how we can test these things.

I figure it's not worth holding the framework up on this though, I'll file
a follow-up to figure out something to do for that.

MozReview-Commit-ID: 59TSbsugT5T

--HG--
extra : rebase_source : 72ecd817017c8b7d55eab879db4f6ad5fecc54c0
2017-09-11 16:08:01 -04:00
Ryan VanderMeulen 1a86da24ad Backed out 9 changesets (bug 1383880) for decision task bustage.
Backed out changeset 53f5d47a7cb0 (bug 1383880)
Backed out changeset a0abda41172a (bug 1383880)
Backed out changeset 729a7e2091e8 (bug 1383880)
Backed out changeset a33f5a14a471 (bug 1383880)
Backed out changeset 5b10d321cfee (bug 1383880)
Backed out changeset 8056488d8aed (bug 1383880)
Backed out changeset e62c90e3c1e8 (bug 1383880)
Backed out changeset 91f116ce6c2a (bug 1383880)
Backed out changeset 045498bc36c4 (bug 1383880)
2017-09-01 15:37:08 -04:00
Dustin J. Mitchell aa0f008926 Bug 1383880: annotate source files with what they SCHEDULE; r=ahal
MozReview-Commit-ID: CR70dSg5R79

--HG--
extra : rebase_source : 38f4feaac373c64cb7f04e6ac702ebb1d5862751
2017-08-25 19:31:54 +00:00
Andrew Halberstadt 1bfac5e46e Bug 1391675 - Fix sm-pkg bustage on a CLOSED TREE, r=bustage CLOSED TREE
MozReview-Commit-ID: KbDxxJtWFbE
2017-08-23 15:22:57 -04:00
Andrew Halberstadt a4a6ffdd99 Bug 1391675 - [tryselect] Add a test for 'mach try fuzzy' and associated task, r=gps
Basic test to get the ground work laid out.

MozReview-Commit-ID: LmjA3Kq7xKN

--HG--
extra : rebase_source : c32e1954b6b5b88c825075c64c8b9993be3035c6
2017-08-21 11:52:28 -04:00
Eric Rahm 0938982c90 Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
--HG--
extra : rebase_source : 063c7f95dda063eafabfa1921366bd1957b8fe73
2017-08-11 17:45:18 -07:00
Axel Hecht c92e5dfc1e bug 1370176, generic configuration for l10n, r=flod,gps
The current way to configure compare-locales has a lot of
assumptions that make our l10n system really stubborn.

The generic configuration is independent of python, and uses
toml files for configuration. They're still modular, but
there's only one file format.

See http://moz-l10n-config.readthedocs.io/en/latest/fileformat.html
for the specification.

Also fixes a few nits in filter.py, where we compared the
entity key as bool, which is false if we pass in ''.
Explicitly compare as "entity is None" to be precise about
when we're checking files.

MozReview-Commit-ID: 5TmfobaImF4

--HG--
extra : rebase_source : 84e56eb2076e74f79677df9e0368811579c1f173
2017-06-05 10:28:33 +02:00
Andrew Halberstadt 8177e735f3 Bug 1048446 - [python-test] Create a mochitest selftest harness, r=jmaher
This will create a mochitest selftest harness based on |mach python-test|. There
is also a basic test that checks whether TEST-PASS and TEST-UNEXPECTED-FAIL work.

MozReview-Commit-ID: Jqyhbj7nC6z

--HG--
extra : rebase_source : d73b37305590a415e350ee45785a85635e7d4209
2017-05-31 13:52:01 -04:00
Wes Kocher 3c7545e844 Backed out changeset 91ddd0674124 (bug 1370176) for build bustage a=backout CLOSED TREE
MozReview-Commit-ID: IiyTf0EQtAw
2017-06-09 08:59:49 -07:00
Axel Hecht 8c3bd3e2ac bug 1370176, generic configuration for l10n, r=flod,gps
The current way to configure compare-locales has a lot of
assumptions that make our l10n system really stubborn.

The generic configuration is independent of python, and uses
toml files for configuration. They're still modular, but
there's only one file format.

See http://moz-l10n-config.readthedocs.io/en/latest/fileformat.html
for the specification.

Also fixes a few nits in filter.py, where we compared the
entity key as bool, which is false if we pass in ''.
Explicitly compare as "entity is None" to be precise about
when we're checking files.

MozReview-Commit-ID: 5TmfobaImF4

--HG--
extra : rebase_source : 7c6feee0aa178315cc69fd6e8c7938365193224c
2017-06-05 10:28:33 +02:00