Commit Graph
2424 Commits
Author SHA1 Message Date
Nathan Froyd 6d9b9636b3 Bug 1319156 - part 3 - tests for Rust library features, frontend and backend; r=chmanchester
This commit also adds an overdue test for plain Rust libraries in the
recursivemake backend, but said test also serves to ensure that we don't
emit features for a library if none were defined in moz.build.
2016-12-02 11:39:15 -05:00
Nathan Froyd a2621f1cb7 Bug 1319156 - part 2 - handle Rust library features in the recursivemake backend; r=chmanchester 2016-12-02 11:39:15 -05:00
Nathan Froyd 6ad1a5ab76 Bug 1319156 - part 1 - add features to RustLibrary objects and moz.build definitions; r=chmanchester
Ideally, people will just use the extra argument to RustLibrary to
define features for their library.
2016-12-02 11:39:15 -05:00
Phil Ringnalda a19d006370 Merge autoland to m-c, a=merge
MozReview-Commit-ID: ZxgsQWdyOP
2016-11-30 19:17:54 -08:00
Wes Kocher 1fd1893083 Merge inbound to central, a=merge 2016-11-30 16:12:21 -08:00
Mike Conley 7926486c29 Bug 1321312 - Add --enable-crash-reporter to ./mach run. r=gps
MozReview-Commit-ID: KzYW2X1aGnk
2016-11-30 11:15:27 -05:00
Phil Ringnalda b6c64855d6 Backed out changeset 10bb1ad646cd (bug 1321065) for ASan gtest failures
CLOSED TREE
2016-11-29 20:50:19 -08:00
Mike Hommey ce17c55f3e Bug 1321065 - Default to --enable-profiling for nightly milestones. r=gps 2016-11-30 06:47:38 +09:00
Mike Hommey a71728b346 Bug 1321065 - Default to --enable-profiling for nightly milestones. r=gps 2016-11-30 06:47:38 +09:00
Benjamin Smedberg f6682f5437 Followup to bug 1313752 - remove all the netwerk/test binaries from the XPCOM glue whitelist 2016-11-30 09:36:47 -05:00
Henrik Skupin 862b5abdcc Bug 1319705 - Move Puppeteer to testing/marionette and make it available for Marionette tests in test packages. r=gps
MozReview-Commit-ID: 521o0fV72SQ
2016-11-24 17:02:52 +01:00
Mike Hommey 370091441f Bug 1317504 - Warn that LD is not used by the build system. r=chmanchester
It turns out that, in practice, the LD variable is not used by the build
system, except on Windows, where it's used to feed the default for LINK,
which is then re-injected as LD.

The upcoming changes are going to normalize the use of LD/LINK.
2016-11-24 15:07:01 +09:00
Carsten "Tomcat" Book 9ffca9592c Merge mozilla-central to autoland 2016-11-29 11:50:17 +01:00
Nathan Froyd f8630d7e1e Bug 1293253 - part 10 - emit {Host,}RustProgram objects from the frontend; r=chmanchester 2016-11-28 11:20:38 -05:00
Nathan Froyd 0bbe02da6a Bug 1293253 - part 9 - handle {Host,}RustProgram objects in the recursivemake backend; r=chmanchester 2016-11-28 11:20:39 -05:00
Nathan Froyd 8ff9930194 Bug 1293253 - part 8 - factor out a unique binary check function; r=chmanchester
We'll need this for Rust programs as well.
2016-11-28 11:20:39 -05:00
Nathan Froyd 826a9ae00c Bug 1293253 - part 7 - factor out a Cargo.toml-for-context parsing function; r=chmanchester
We'll need a function to do this for Rust program definitions, so we
might as well use one that's already there for Rust library definitions.
2016-11-28 11:20:39 -05:00
Nathan Froyd 7e45c899b1 Bug 1293253 - part 4 - add frontend objects for Rust programs; r=chmanchester 2016-11-28 11:20:39 -05:00
Nathan Froyd e15ac258ba Bug 1293253 - part 2 - split out cargo_target_directory; r=chmanchester
We're going to need this functionality for Rust programs as well as Rust
libraries, so we might as well move the functionality out of RustLibrary
into a separate function.
2016-11-28 11:20:39 -05:00
Chris Manchester b33251b774 Bug 1306614 - Correctly detect when a conflicting version of a python package is found by the build system's virtualenv. r=gps
The pip function `check_if_exists` returns True if any version of the named
package exists, and sets attributes on the requirement object based on
whether the correct version exists. Prior to this patch, we were interpreting
a `True` result from `check_if_exists` to mean the named package did not need
to be installed or updated at all, causing the build system virtualenv to use
incorrect dependency versions and fail in some cases. This was found in the
case of attempting an artifact build on a system where mozregression was
installed locally, resulting in an incompatible version of the taskcluster
client being used by the artifact code.

MozReview-Commit-ID: 5Q54PsUIrKR
2016-11-28 13:05:19 -08:00
Mike Hommey 62a95876ba Bug 1320006 - Shell-quote the flags used for file_generate commands. r=mshal
Ideally, we'd shell-quote more arguments, but that would also require
different quoting for the make dependencies and the command line
arguments, so go for the immediate need.
2016-11-24 16:17:34 +09:00
Dan Minor 42c96267d7 Bug 1317726 - sdp_file_parser should not depend on xpcom glue; r=drno
MozReview-Commit-ID: KDv3RzGurQx
2016-11-15 11:53:47 -05:00
Phil Ringnalda a4d9100a8c Merge m-c to autoland 2016-11-22 21:33:35 -08:00
Phil Ringnalda bf34d7ef12 Merge m-i to m-c, a=merge
MozReview-Commit-ID: EDVoIcyWOhi
2016-11-22 20:03:03 -08:00
Mike Hommey d31a3f9cfb Bug 1319637 - Transform ObjDir*Files into FinalTarget*Files. r=gps
While the recursive make backend needs to handle ObjDir*Files separately
for now, other backends can handle them just as FinalTarget*Files instead,
simplifying their implementation.
2016-11-23 11:51:09 +09:00
Andrew McCreight 21307f7838 Bug 1318494 - Add IPDL unit tests to ALLOWED_XPCOM_GLUE. r=glandium
MozReview-Commit-ID: HIugK0W61do
2016-11-22 11:09:43 -08:00
Nicholas Nethercote 9994803f5a Bug 1315138 - gtestify storage/test/*.cpp. r=mak,erahm.
This change is mostly straightforward, except for the following.

- It removes all the printing from the do_check_* macros because gtest macros
  do appropriate printing.

- test_StatementCache.cpp needs some special gtest magic for the type
  parameterization.

- It merges the four tests in test_unlock_notify.cpp because they rely on being
  executed in order, and so aren't independent.

- storage_test_harness_tail.h is no longer necessary because gtest provides the
  test looping functionality.

- It uses #include and the preprocessor to remove the duplication between
  test_deadlock_detector.cpp and xpcom/tests/DeadlockDetector.cpp.

- It makes the test in test_service_init_background_thread.cpp a death test to
  force it to be the first storage gtest, because it fails otherwise.

- It adds code to undo the SQLite mutex hooking as necessary, so that tests
  don't interfere with each other.

- It de-virtualizes Spinner's destructor (as identified in bug 1318282).
2016-11-11 09:59:23 +11:00
Mike Hommey f8901eaa33 Bug 1319345 - Change how application.ini and application.ini.h are generated. r=mshal
The current way they are generated makes it so that it's not trivial for
the backends to figure that one depends on the other. While we should
eventually make things such that using FINAL_TARGET_PP_FILES works for
that, it's currently simpler to just use GENERATED_FILES.
2016-11-02 17:16:56 +09:00
Mike Hommey 52a10e3b70 Bug 1319345 - Add flags to GENERATED_FILES. r=mshal 2016-11-03 10:40:17 +09:00
Kris Maglione 870d184924 Bug 994255: Add included and parent test manifest files to backend inputs list. r=gps
MozReview-Commit-ID: EvMt0ojZGFr
2016-11-18 14:52:54 -08:00
Gregory Szorc 873c540231 Bug 1319484 - Add "stylo" to mozinfo; r=mshal
This will allow tests, etc to conditionally run depending on Stylo's
presence.

MozReview-Commit-ID: 3WHxNawP1qC
2016-11-22 10:25:52 -08:00
Carsten "Tomcat" Book 98e701bcdb merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Chris Peterson effa971695 Bug 1318833 - Part 1: Remove Silverlight plugin tests and test plugin. r=qdot 2016-11-21 21:10:27 -08:00
Andrew Halberstadt 7663ee0695 Bug 1317970 - Use manifestparser manifests for python unit tests, r=chmanchester
This deprecates PYTHON_UNIT_TESTS and replaces it with PYTHON_UNITTEST_MANIFESTS.
In the build system, this means python unittests will be treated the same as all
other test suites that use manifestparser. New manifests called 'python.ini' have
been created for all test directories containing python unittests.

MozReview-Commit-ID: IBHG7Thif2D
2016-11-16 09:59:22 -05:00
Carsten "Tomcat" Book 19ba40fb78 merge mozilla-inbound to mozilla-central a=merge 2016-11-21 15:44:20 +01:00
Ted Mielczarek fce6e4e4a2 bug 1286934 - Switch to using sccache2. r=gps
This patch does a few things:
1) Change all the in-tree tooltool manifests to contain sccache2 instead of the existing Python sccache
2) Change mozconfig.cache to point at sccache.
3) Lightly tweak the --with-cccache configure option to support sccache, and detect whether we're using ccache or sccache and set an option appropriately.
4) Add a MOZ_SCCACHE_VERBOSE_STATS option, and add a target in the top-level Makefile to make sccache spit out its stats at the end of the build. This is useful to see the cache hits/errors until we get something better.
5) Add MOZ_USING_SCCACHE to the build telemetry. Not that I think it will be immediately useful, but for future use.

MozReview-Commit-ID: 9lrdLwNj5Bm
2016-08-25 18:39:57 -04:00
Carsten "Tomcat" Book 4d9db32e11 Merge mozilla-central to mozilla-inbound 2016-11-21 15:46:10 +01:00
Gabriele Svelto 272956b411 Bug 1317968 - Package the minidump-analyzer tool r=ted 2016-11-16 15:24:05 +01:00
Mike Shal 26663a9adf Bug 1315810 - Support some FinalTargetFiles in the tup backend; r=chmanchester
MozReview-Commit-ID: 68b596wAp8g
2016-10-08 11:49:20 -04:00
Mike Shal 20f87a59b5 Bug 1315810 - Use tup's internal symlinking instead of build manifests; r=chmanchester
MozReview-Commit-ID: LNsbghIGJvH
2016-09-30 11:16:41 -04:00
Ryan VanderMeulen 87042261ca Merge m-c to autoland. a=merge 2016-11-18 15:47:52 -05:00
Mike Shal 52f4cad2e5 Bug 1318574 - Support buildbot and TC jobs for opt android artifact builds; r=chmanchester
MozReview-Commit-ID: YkgUJEZiUU
2016-11-18 13:54:12 -05:00
Gregory Szorc 9a361ca18e Bug 1318182 - Support writing Visual Studio 2017 project files; r=glandium
In order for VS2017 to recognize solution and project files as
belonging to VS2017 and not some earlier version, we need to bump
a few versions strings.

The added code path can't be hit yet because MSVS_VERSION cannot
be "2017" until configure detects VS2017. I hacked up MSVS_VERSION
locally and verified that solutions produced with the new code load
in VS2017.

FWIW, the solution loads significantly faster in VS2017 compared to
VS2015!

MozReview-Commit-ID: 2vYAgd6wOsG
2016-11-16 16:24:34 -08:00
Phil Ringnalda a174c917cb Merge m-c to m-i
MozReview-Commit-ID: GwBaSZdoAZK
2016-11-17 20:33:59 -08:00
Phil Ringnalda 221ae4b2e6 Merge m-i to m-c, a=merge
MozReview-Commit-ID: A3wgReQAalj
2016-11-17 19:21:20 -08:00
Kris Maglione 8e9c4473a5 Bug 1317101 - Part 8a: Read defaults from ancestor manifests when processing test metadata. r=chmanchester
MozReview-Commit-ID: 90ldX6DuKBy
2016-11-12 18:30:47 -08:00
Ted Mielczarek 0f4538fc62 bug 1295937 - build NSS using gyp files. r=glandium
MozReview-Commit-ID: Gm1PLWSJwbD
2016-11-09 12:37:09 -05:00
Ted Mielczarek 92d003c922 bug 1295937 - Improvements to gyp_reader to handle NSS gyp files. r=glandium
This patch contains a number of changes to the gyp_reader code:
* Add three new flags to GYP_DIRS:
** no_chromium, to skip forcing the includes/etc needed for chromium gyp files
** no_unified, to force building all sources without unification
** action_overrides, to pass scripts used when mapping gyp actions to moz.build GENERATED_FILES
* Handle the flags mentioned above in read_from_gyp
* Handle actions in gyp targets by mapping them to GENERATED_FILES, using scripts specified in the action_overrides flag. We don't try to handle the generic action case, we require special-casing for each action.
* Handle a subset of copies in gyp targets by mapping them to EXPORTS, just enough to handle the use of them for NSS exports.
* Handle shared_library and executable gyp targets
* Handle gyp target dependencies/libraries as USE_LIBS/OS_LIBS
* Handle generated source files
* Handle .def files in sources by mapping them to SYMBOLS_FILE
* Special-case some include_dirs:
** Map `<(PRODUCT_DIR)/dist/` to $DIST/include (to handle include paths for NSS exports)
** Map include_dirs starting with topobjdir to objdir-relative paths, to handle passing the NSPR include path to NSS
* split /build/gyp.mozbuild into two parts, with gyp_base.mozbuild containing generic bits, and gyp.mozbuild containing chromium-specific bits


MozReview-Commit-ID: FbDmlqDjRp4
2016-11-15 12:37:09 -05:00
Mike Shal 8df0df34e3 Bug 1183613 - Cross compile universal OSX builds in Taskcluster; r=froydnj,ted
MozReview-Commit-ID: HNTqiVF9gov
2016-10-21 13:54:10 -04:00
aleth e13bd359a1 Bug 1317674 - Use the correct path to the binary for comm builds in the XPCOM glue check + exceptions for Calendar and Instantbird. r=glandium 2016-11-16 02:01:04 +01:00