Commit Graph

4186 Commits

Author SHA1 Message Date
Andrew Halberstadt
2aba2689ec Bug 1448417 - [mozlint] Be explicit about which linters are used for functions in test_roller.py, r=rwood
This makes things more explicit. Previously we were relying on those magic
global "linters" variables, and it turned out that one of the tests was
actually linting a completely different set of linters than I was expecting.

This changes things so each test needs to explicitly define which linters it
wants to use.

Depends on D6410

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

--HG--
extra : moz-landing-system : lando
2018-09-20 20:45:04 +00:00
Andrew Halberstadt
a7af481576 Bug 1448417 - [mozlint] Rename test_filterpaths.py to test_pathutils.py, r=rwood
This makes this test match all the other tests (which are named after the module
they are testing).

Also rename the test function to 'test_filterpaths'.

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

--HG--
rename : python/mozlint/test/test_filterpaths.py => python/mozlint/test/test_pathutils.py
extra : moz-landing-system : lando
2018-09-20 20:27:45 +00:00
Ben Hearsum
648d8a8775 bug 1490119: Build separate updater that always embeds dep certificates. r=ted,firefox-build-system-reviewers
This patch gets us building an updater binary that always embeds the dep certificates (instead of release or nightly), and builds a new tests package that includes it.

This was originally D5900, but that was backed out due to busting artifact builds. I've fixed that by removing the Makefile that Ted pointed out is unnecessary.

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

--HG--
extra : moz-landing-system : lando
2018-09-21 10:07:27 +00:00
Coroiu Cristina
b51e5a983e Backed out changeset 494efc7d8c29 (bug 1486934) for build bustage at chrome/global/aboutAbout.dtd on a CLOSED TREE 2018-09-20 18:45:28 +03:00
Jack Smith
3670974038 Bug 1486937 - Migrates about:url-classifier to use fluent for localization r=Gijs,flod,zbraniecki,jaws
Migrates strings from aboutUrlClassifier.dtd and aboutUrlClassifier.properties files to aboutUrlClassifier.ftl

Modifies aboutUrlClassifier.xhtml and aboutUrlClassifier.js to use fluent.

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

--HG--
extra : moz-landing-system : lando
2018-09-16 13:52:25 +00:00
Qinghao_Jack_Song
4c06855cb5 Bug 1486934 - Modify about:about to use fluent for localization r=Gijs,flod,jaws
Differential Revision: https://phabricator.services.mozilla.com/D5311

--HG--
extra : moz-landing-system : lando
2018-09-19 19:02:37 +00:00
Ahilya Sinha
8f5e322404 Bug 1473915 - Set up infra so we can move the wpt-manifest out of tree r=gps
Changes the wpt manifest path to the topobjdir instead so it can be moved out of tree.
Other changes so that the manifest download and update, and |mach wpt| and |mach test <wpt-test>| work with the new path.
The manifest is also downloaded and updated when creating the tests-archive to ensure that it exists when we run tests on TC.

MozReview-Commit-ID: Fp6UsKJjhTU

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

--HG--
extra : moz-landing-system : lando
2018-09-20 12:07:58 +00:00
Andi-Bogdan Postelnicu
fb4dc15757 Bug 1480089 - pass all of the test files to to our static-analysis pipeline. r=janx
Differential Revision: https://phabricator.services.mozilla.com/D4659

--HG--
extra : moz-landing-system : lando
2018-09-20 07:38:27 +00:00
Andi-Bogdan Postelnicu
06c6a4c550 Bug 1488778 - Disregard exit code when calling static-analysis from mach. r=janx
Differential Revision: https://phabricator.services.mozilla.com/D5036

--HG--
extra : moz-landing-system : lando
2018-09-07 10:07:39 +00:00
Ted Campbell
388abb1424 Bug 1138579 - Support multiple Files patterns in moz.build r=gps
Add support for |with Files('a/**', 'b/**')| in mozbuild config files.

MozReview-Commit-ID: IoM4qfEhXXc

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

--HG--
extra : moz-landing-system : lando
2018-09-20 01:58:21 +00:00
Mike Shal
95ce5d48f7 Bug 1491169 - Fix LMDB symbol errors in the tup backend; r=chmanchester
This is a quick fix to workaround linking in rkv and lmdb-sys in the tup
backend. Bug 1492291 is a followup to actually fix the problem more
generally.

MozReview-Commit-ID: 523it7WEUad

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

--HG--
extra : moz-landing-system : lando
2018-09-19 22:43:54 +00:00
Bogdan Tara
e956072fa9 Backed out changeset 96059b4f6d8a (bug 1490119) for breaking OSX builds r=bhearsum a=backout 2018-09-20 02:52:19 +03:00
Ben Hearsum
11188446df bug 1490119: Add build system bits for building dep updater. r=firefox-build-system-reviewers,mshal,rstrong
This patch gets us building an updater binary that always embeds the dep certificates (instead of release or nightly), and builds a new tests package that includes it.

I had a lot of trouble getting the test package generated correctly due to the fact that things in "_tests" won't be included for test packages that aren't "common". My fix for that isn't ideal - I'm open to something better.

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

--HG--
extra : moz-landing-system : lando
2018-09-19 19:55:23 +00:00
shindli
d8f561f92f Backed out changeset dd80de19f142 (bug 1473915) for mb failures in testing/mozbase/moztest/tests/test_resolve.py CLOSED TREE 2018-09-19 18:13:48 +03:00
Ahilya Sinha
67be437f68 Bug 1473915 - Set up infra so we can move the wpt-manifest out of tree r=gps
Changes the wpt manifest path to the topobjdir instead so it can be moved out of tree.
Other changes so that the manifest download and update, and |mach wpt| and |mach test <wpt-test>| work with the new path.
The manifest is also downloaded and updated when creating the tests-archive to ensure that it exists when we run tests on TC.

MozReview-Commit-ID: Fp6UsKJjhTU

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

--HG--
extra : moz-landing-system : lando
2018-09-19 06:57:50 +00:00
arthur.iakab
e38cbc2831 Merge mozilla-central to autoland 2018-09-19 05:20:02 +03:00
arthur.iakab
1ee75a928a Merge inbound to mozilla-central a=merge 2018-09-19 05:18:50 +03:00
Adam Gashlin
fc13e0055e Bug 1492268: Allow a Rust library to link to a program r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D6200

--HG--
extra : moz-landing-system : lando
2018-09-18 22:23:41 +00:00
Nathan Froyd
e268670d4f Bug 1490463 - part 1 - emit a srcdir_rel variable in every directory; r=mshal
Many Windows tools don't deal well with absolute paths for filenames,
oddly enough, so we want to pass relative paths into the source
directory where possible.  These relative paths also mean that they look
like "normal" unix paths to WSL and therefore don't require any special
handling.
2018-09-18 16:02:23 -04:00
Ted Mielczarek
de99592416 Bug 1399870 - make DEFFILE a Path instead of a string; r=gps
All but one of the current uses of DEFFILE use `SRCDIR + '/file.def'` to
get a srcdir-relative path anyway, and the other one wants an
objdir-relative path, so using Path makes everything clearer.

This makes it more straightforward to translate the paths for the WSL
build.
2018-09-18 15:50:19 -04:00
Matt Brubeck
8ca4e7a8dd Bug 1492001 - Update cargo_build_defs for num-traits. r=mbrubeck
--HG--
extra : rebase_source : d2f6833c4cd20ec8def8ebce60dc571d89023cec
2018-09-18 12:24:27 -07:00
Matt Brubeck
089f3a6e6b Bug 1492001 - Revendor Rust dependencies. r=jgraham
Depends on D6168

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

--HG--
rename : third_party/rust/num/bors.toml => third_party/rust/num-integer/bors.toml
extra : moz-landing-system : lando
2018-09-18 17:51:22 +00:00
Chris Manchester
8c3ce02582 Bug 1490763 - Export ICECC environment variables to compilation commands in the tup backend. r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D5708

--HG--
extra : moz-landing-system : lando
2018-09-18 15:32:12 +00:00
Noemi Erli
c24ed5f87b Backed out changeset 08f0bf17514d (bug 1138579) for build bustages in /config/tests/test_mozbuild_reading.py 2018-09-18 20:40:06 +03:00
Ted Campbell
924a6f290b Bug 1138579 - Support multiple Files patterns in moz.build r=gps
Add support for |with Files('a/**', 'b/**')| in mozbuild config files.

MozReview-Commit-ID: IoM4qfEhXXc

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

--HG--
extra : moz-landing-system : lando
2018-09-18 17:18:30 +00:00
Chris Manchester
de165d4dba Bug 1490145 - Download rustc 1.29 in mach bootstrap. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D5825

--HG--
extra : moz-landing-system : lando
2018-09-14 02:21:26 +00:00
Masatoshi Kimura
480bad1d12 Bug 1490654 - Drop support for MSVC 2017 Update 6. r=froydnj 2018-09-16 22:22:31 +09:00
Andrew Halberstadt
3d4150df71 Bug 1486866 - [mozlint] Refactor test_include_exclude into parametrized test cases, r=egao
This will make it easier to add new test cases in the future. It'll
also make it easier to print debug, as only the output for each
specific test case will be printed on failure.

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

--HG--
extra : moz-landing-system : lando
2018-09-17 15:36:35 +00:00
Mike Hommey
c0ae0d9213 Fixup for broken tests when combining bug 1485224 from inbound and bug 1490549 from autoland. r=me,a=build-bustage-fix 2018-09-15 20:04:29 +09:00
Dorel Luca
7a91966c10 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-15 12:46:59 +03:00
Mike Hommey
410b4939d9 Bug 1490549 - Make configure choose clang by default on all platforms r=froydnj
Now that we ship builds using clang on all platforms, pick it during
configure. It is still possible to opt-in to building other compilers by
setting CC/CXX (or even only CC) to the desired compiler.

Depends on D5829

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

--HG--
extra : moz-landing-system : lando
2018-09-14 18:01:23 +00:00
Mike Hommey
8e6dbef1d4 Bug 1490549 - Add some Windows-cross toolchain configure tests r=froydnj
While those builds are not fully supported yet, it's better to ensure
the coming changes to toolchain.configure won't break them.

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

--HG--
extra : moz-landing-system : lando
2018-09-14 13:15:58 +00:00
Brian Grinstead
fbadd312b2 Bug 1411707 - Convert findbar.dtd to findbar.ftl;r=flod
This will be used when we migrate away from XBL and to a Custom Element
in the following changesets.

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

--HG--
extra : moz-landing-system : lando
2018-09-14 18:29:51 +00:00
shindli
0c0c6fddd8 Backed out changeset aae4f349fa58 (bug 1479503) per developer's request on IRC a=backout
--HG--
rename : taskcluster/docker/static-analysis-build/Dockerfile => taskcluster/docker/infer-build/Dockerfile
2018-09-14 16:35:23 +03:00
Brindusan Cristian
99cbc0aec3 Merge inbound to mozilla-central. a=merge 2018-09-14 12:53:25 +03:00
Robert Bartlensky
af9de513f7 Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander
Adds infer to ./mach static-analysis autotest.

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

--HG--
rename : taskcluster/docker/infer-build/Dockerfile => taskcluster/docker/static-analysis-build/Dockerfile
extra : moz-landing-system : lando
2018-09-13 20:58:03 +00:00
Noemi Erli
a548d10a8c Merge inbound to mozilla-central. a=merge 2018-09-14 01:01:37 +03:00
Jim Chen
343650bb80 Bug 1480834 - 7. Add Android x86-64 tasks; r=nalexander r=dustin r=jlorenzo
Add tasks for building Android for x86-64.

Differential Revision: https://phabricator.services.mozilla.com/D5604
2018-09-13 12:09:26 -04:00
Jim Chen
6ce80dbdc4 Bug 1480834 - 5. Keep target flag when building for Android on Linux; r=glandium
Currently, when building for Android x86-64 on Linux x86-64, we drop the
'--target' flag, which causes the build to fail. This patch adds a check
for OS mismatch, so we keep the '--target' flag in this situation.

Differential Revision: https://phabricator.services.mozilla.com/D4483
2018-09-13 12:09:26 -04:00
Jim Chen
d968bd5148 Bug 1480834 - 2. Add x86-64 build support; r=nalexander
Add x86-64 as an option for Android builds in the build system.

Differential Revision: https://phabricator.services.mozilla.com/D4480
2018-09-13 12:09:25 -04:00
Jim Chen
054f1436df Bug 1480834 - 0. Drop mips and update NDK platform to 16; r=jchen
Differential Revision: https://phabricator.services.mozilla.com/D5602
2018-09-13 12:09:24 -04:00
Benjamin Bouvier
52e9161365 Bug 1490921: Fix error message when trying to link several Rust libs at once: r=froydnj
--HG--
extra : rebase_source : 684d8b77a5c0b801825386b46a101bbc57eeaf32
extra : amend_source : 5a21dd028ac69e5adf062f91350bae84ba183560
2018-09-13 09:33:26 +02:00
Chris Peterson
da01f965e0 Bug 1490575 - Remove MOZ_MULET checks from build files. r=froydnj
Mulet was a Firefox OS simulator that is no longer supported: https://wiki.mozilla.org/Mulet

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

--HG--
extra : rebase_source : 5d6c8563fe7f5b3bafa9a17d1057eb3a3db6e241
extra : source : f7c8de6bc4a978421f49e43b951188597086874b
2018-09-11 23:16:36 -07:00
Gian-Carlo Pascutto
ae55a2bd7a Bug 1490413 - Update Rust license checks for new cargo formats. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D5679

--HG--
extra : moz-landing-system : lando
2018-09-13 13:28:07 +00:00
Ben Hearsum
715bd48218 Bug 1490119 - Set override_certs in update verify config creator. r=nthomas
Imports the changes to the UpdateVerifyConfig class, and sets --override-certs for staging releases.

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

--HG--
extra : moz-landing-system : lando
2018-09-13 12:31:08 +00:00
Masatoshi Kimura
762361579f Bug 1485224 - Update Windows builders to VS 2017 15.8.4 and Windows SDK 17134. r=glandium
--HG--
extra : rebase_source : 15906168b0e2e2d545ea841cb3e11e7102bc9b39
2018-09-07 07:15:19 +09:00
Steve Armand
1812539078 Bug 1490167 - MacPorts in bootstrap.py is out of date r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D5494

--HG--
extra : moz-landing-system : lando
2018-09-11 19:36:09 +00:00
Gabriele Svelto
d5ab0ca667 Bug 1490355 - Teach |mach bootstrap| to automatically install the latest version of the Oracle JDK r=nalexander
This patch makes the bootstrap code "ask" Gentoo's package manager for
human-readable information on how to get the latest JDK, then parses it and
locates the tarball URL on its own. The whole procedure is now fully automatic
(until the package output or Oracle web pages change).

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

--HG--
extra : moz-landing-system : lando
2018-09-12 12:08:51 +00:00
Csoregi Natalia
7ed619163e Backed out changeset 081d8311be59 (bug 1479503) for build bustage - java not found. CLOSED TREE
--HG--
rename : taskcluster/docker/static-analysis-build/Dockerfile => taskcluster/docker/infer-build/Dockerfile
2018-09-12 13:16:06 +03:00
Robert Bartlensky
b4ebd25931 Bug 1479503: Check infer in ./mach static-analysis autotest. r=nalexander
Adds infer to ./mach static-analysis autotest.

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

--HG--
rename : taskcluster/docker/infer-build/Dockerfile => taskcluster/docker/static-analysis-build/Dockerfile
extra : moz-landing-system : lando
2018-09-12 09:34:30 +00:00