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

1947 Коммитов

Автор SHA1 Сообщение Дата
Phil Ringnalda 89e92b0c3b Merge m-c to autoland 2016-11-22 21:33:35 -08:00
Phil Ringnalda feef954874 Merge m-i to m-c, a=merge
MozReview-Commit-ID: EDVoIcyWOhi

--HG--
rename : storage/test/test_AsXXX_helpers.cpp => storage/test/gtest/test_AsXXX_helpers.cpp
rename : storage/test/test_binding_params.cpp => storage/test/gtest/test_binding_params.cpp
rename : storage/test/test_mutex.cpp => storage/test/gtest/test_mutex.cpp
2016-11-22 20:03:03 -08:00
Mike Hommey fb324d76b9 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.

--HG--
extra : rebase_source : 3201fc755e07489b0f440839f02e4052fb3dff4b
2016-11-23 11:51:09 +09:00
Andrew McCreight 5698c7b083 Bug 1318494 - Add IPDL unit tests to ALLOWED_XPCOM_GLUE. r=glandium
MozReview-Commit-ID: HIugK0W61do

--HG--
extra : rebase_source : b56aa7573bb089039a24d23a65c9f876195339c4
2016-11-22 11:09:43 -08:00
Nicholas Nethercote 7e1a8cf56c 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).

--HG--
rename : storage/test/storage_test_harness.h => storage/test/gtest/storage_test_harness.h
rename : storage/test/test_AsXXX_helpers.cpp => storage/test/gtest/test_AsXXX_helpers.cpp
rename : storage/test/test_StatementCache.cpp => storage/test/gtest/test_StatementCache.cpp
rename : storage/test/test_asyncStatementExecution_transaction.cpp => storage/test/gtest/test_asyncStatementExecution_transaction.cpp
rename : storage/test/test_async_callbacks_with_spun_event_loops.cpp => storage/test/gtest/test_async_callbacks_with_spun_event_loops.cpp
rename : storage/test/test_binding_params.cpp => storage/test/gtest/test_binding_params.cpp
rename : storage/test/test_deadlock_detector.cpp => storage/test/gtest/test_deadlock_detector.cpp
rename : storage/test/test_file_perms.cpp => storage/test/gtest/test_file_perms.cpp
rename : storage/test/test_mutex.cpp => storage/test/gtest/test_mutex.cpp
rename : storage/test/test_service_init_background_thread.cpp => storage/test/gtest/test_service_init_background_thread.cpp
rename : storage/test/test_statement_scoper.cpp => storage/test/gtest/test_statement_scoper.cpp
rename : storage/test/test_transaction_helper.cpp => storage/test/gtest/test_transaction_helper.cpp
rename : storage/test/test_true_async.cpp => storage/test/gtest/test_true_async.cpp
rename : storage/test/test_unlock_notify.cpp => storage/test/gtest/test_unlock_notify.cpp
extra : rebase_source : dbb695c112564efa1945116be1a8435988982e74
2016-11-11 09:59:23 +11:00
Mike Hommey 1f0c9eb55d 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.

--HG--
rename : build/application.ini => build/application.ini.in
extra : rebase_source : cad3460b65d99bdae3e6f1d9dd611e0a602ebfed
2016-11-02 17:16:56 +09:00
Mike Hommey f3991f6ba9 Bug 1319345 - Add flags to GENERATED_FILES. r=mshal
--HG--
extra : rebase_source : 8b976e6880e018e56cebd65c30674be9721dfd8d
2016-11-03 10:40:17 +09:00
Kris Maglione 1390ab41bf Bug 994255: Add included and parent test manifest files to backend inputs list. r=gps
MozReview-Commit-ID: EvMt0ojZGFr

--HG--
extra : rebase_source : ccdf62dde1d315495e7effbdd824c2a2c14099f2
2016-11-18 14:52:54 -08:00
Gregory Szorc bad7b2a1c4 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

--HG--
extra : rebase_source : d4d983d37d3bfac1f9d465a3023b5bd5df52cd56
extra : source : 6baa88f7b1f4183ea57b9f8928556975042cad29
2016-11-22 10:25:52 -08:00
Carsten "Tomcat" Book 8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
Chris Peterson df18772e96 Bug 1318833 - Part 1: Remove Silverlight plugin tests and test plugin. r=qdot 2016-11-21 21:10:27 -08:00
Andrew Halberstadt 6adcf5b456 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

--HG--
extra : rebase_source : 11a92a2bc544d067946bbd774975140147458caa
2016-11-16 09:59:22 -05:00
Carsten "Tomcat" Book 59bb309e38 merge mozilla-inbound to mozilla-central a=merge 2016-11-21 15:44:20 +01:00
Ted Mielczarek fa343243d0 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

--HG--
extra : rebase_source : d323457df10d0ee0ac5811940e518d9422a7e070
2016-08-25 18:39:57 -04:00
Carsten "Tomcat" Book b83681ba76 Merge mozilla-central to mozilla-inbound 2016-11-21 15:46:10 +01:00
Gabriele Svelto 5201094fbb Bug 1317968 - Package the minidump-analyzer tool r=ted 2016-11-16 15:24:05 +01:00
Mike Shal 5133dad8c3 Bug 1315810 - Support some FinalTargetFiles in the tup backend; r=chmanchester
MozReview-Commit-ID: 68b596wAp8g

--HG--
extra : rebase_source : cd99d1a0ee9822871eedaca63455578dc79efad1
2016-10-08 11:49:20 -04:00
Mike Shal 458dc35b77 Bug 1315810 - Use tup's internal symlinking instead of build manifests; r=chmanchester
MozReview-Commit-ID: LNsbghIGJvH

--HG--
extra : rebase_source : 475bfbb846910095ae3d8f4b9d3412bd22b0eab5
2016-09-30 11:16:41 -04:00
Ryan VanderMeulen ee574db67b Merge m-c to autoland. a=merge 2016-11-18 15:47:52 -05:00
Mike Shal c79e0b6e0a Bug 1318574 - Support buildbot and TC jobs for opt android artifact builds; r=chmanchester
MozReview-Commit-ID: YkgUJEZiUU

--HG--
extra : rebase_source : ad9a298f5ed27bbbb99795c186e5d16293075862
2016-11-18 13:54:12 -05:00
Gregory Szorc 5661f756b7 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

--HG--
extra : rebase_source : a29b956bb6eef9071cb46d30460a42ef17658026
2016-11-16 16:24:34 -08:00
Phil Ringnalda e3b53628aa Merge m-c to m-i
MozReview-Commit-ID: GwBaSZdoAZK
2016-11-17 20:33:59 -08:00
Phil Ringnalda 61baa2aa9a Merge m-i to m-c, a=merge
MozReview-Commit-ID: A3wgReQAalj
2016-11-17 19:21:20 -08:00
Kris Maglione ce75407221 Bug 1317101 - Part 8a: Read defaults from ancestor manifests when processing test metadata. r=chmanchester
MozReview-Commit-ID: 90ldX6DuKBy

--HG--
extra : rebase_source : 35e2d1b5422801e1365d884dd9838dbffd64b86d
extra : source : e06d269a5d4f35b608b5bc7f1c61e875f2322b45
2016-11-12 18:30:47 -08:00
Ted Mielczarek a449823a50 bug 1295937 - build NSS using gyp files. r=glandium
MozReview-Commit-ID: Gm1PLWSJwbD

--HG--
rename : config/external/nss/moz.build => security/moz.build
rename : config/external/nss/nss.symbols => security/nss.symbols
extra : rebase_source : bedd3b2f315f8504e1d0cb1ee94720e380466e5b
2016-11-09 12:37:09 -05:00
Ted Mielczarek 26ebd20ebf 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

--HG--
extra : rebase_source : d3fb470c589f92d8c956b9ecd550fb8df79ff5bc
2016-11-15 12:37:09 -05:00
Mike Shal ad4478f15e Bug 1183613 - Cross compile universal OSX builds in Taskcluster; r=froydnj,ted
MozReview-Commit-ID: HNTqiVF9gov

--HG--
extra : rebase_source : 3e02cd433e45f4bb5759f093aaccade2d49745c3
2016-10-21 13:54:10 -04:00
aleth ac4fd4697e 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
Wes Kocher 4e5f6472fd Backed out 15 changesets (bug 1317101) for e10s jsreftest failures a=backout CLOSED TREE
Backed out changeset 17757ba4c0e8 (bug 1317101)
Backed out changeset 61f8a4084bbd (bug 1317101)
Backed out changeset a8cdc81cdcce (bug 1317101)
Backed out changeset e06d269a5d4f (bug 1317101)
Backed out changeset 1e1bfb578dcd (bug 1317101)
Backed out changeset 0f8144296a9d (bug 1317101)
Backed out changeset b7892d3fb0ca (bug 1317101)
Backed out changeset 039d63d5fef7 (bug 1317101)
Backed out changeset ef7e061b37bf (bug 1317101)
Backed out changeset af7b81d7a5cc (bug 1317101)
Backed out changeset 225ad2535585 (bug 1317101)
Backed out changeset b0521588011d (bug 1317101)
Backed out changeset 07321664430a (bug 1317101)
Backed out changeset 47d283897283 (bug 1317101)
Backed out changeset ffc63be3557c (bug 1317101)
2016-11-16 16:44:30 -08:00
Wes Kocher 0cb51956f2 Backed out changeset 75fc07efe46f (bug 1317968) for reftest crashes a=backout CLOSED TREE 2016-11-16 16:15:30 -08:00
Gabriele Svelto 85a8fbb70f Bug 1317968 - Package the minidump-analyzer tool r=ted 2016-11-16 15:24:05 +01:00
Kris Maglione f1968ada59 Bug 1317101 - Part 8a: Read defaults from ancestor manifests when processing test metadata. r=chmanchester
MozReview-Commit-ID: 90ldX6DuKBy

--HG--
extra : rebase_source : 52827e9088422bc267441d6c1b9b4f78879f5c59
extra : histedit_source : 327525467a30a9670b29686e8f66dbeb449f2081
2016-11-12 18:30:47 -08:00
Benjamin Smedberg 00f9f7a30c Bug 1314350 - Port TestTXMgr to gtest. This removes the framework for testing object destruction order because that was already non-deterministic due to the cycle collector, r=masayuki
MozReview-Commit-ID: vK4iYmytgt

--HG--
extra : rebase_source : fc4be47bf0e68777aaf45250b339cf0d3d332240
extra : source : bb1325166026fec5e13db34eca7588ce18c94505
2016-11-15 13:06:05 -05:00
Benjamin Smedberg 58606875d8 Bug 1314955 part B - Remove the tests for binary-component which is no longer supported. r=froydnj
MozReview-Commit-ID: G7MATc8AGt1

--HG--
extra : rebase_source : f5f0886aab2b6981a12d9c32b120e65a2d022bc8
extra : source : a99c6ce96b6f25a4935bc41fe32841c9b94f1546
2016-10-26 11:34:32 -04:00
Benjamin Smedberg ef89ac1033 Bug 1314955 part A - Move the binary xpconnect testing components into libxul so that we can remove support for external binary components. Ideally we'd only compile these into the xul-gtest version, but currently we can't run xpcshell tests against that version, so I'm going to put them into the release xul, r=mrbkap
MozReview-Commit-ID: Lr6uKtzXdEb

--HG--
extra : rebase_source : d6c813e568ba62bcc7174a0fc990ccf4364717e6
extra : source : c78f97c0b77126fa37c857728192f2e2d0c2d99c
2016-11-16 12:28:57 -05:00
Benjamin Smedberg 067ef5e9f7 Bug 1314378 part B - port TestStartupCache to gtest, r=froydnj
MozReview-Commit-ID: LTz4slzIkjH

--HG--
extra : rebase_source : 852ca996bd042d9c363b79bf47a037f83f3cf804
extra : source : 4585a7b6f3ce8c8dc7b7e043e0fae86f8e5ee392
2016-11-11 11:57:08 -05:00
Dan Minor 77356a7daa Bug 1317009 - Port jsep_session_unittest and jsep_track_unittest to xul gtest; r=bwc
MozReview-Commit-ID: spuZSAnSDC

--HG--
rename : media/webrtc/signaling/test/jsep_session_unittest.cpp => media/webrtc/signaling/gtest/jsep_session_unittest.cpp
rename : media/webrtc/signaling/test/jsep_track_unittest.cpp => media/webrtc/signaling/gtest/jsep_track_unittest.cpp
extra : rebase_source : 1f251167ef24d55bfbb7cd8b09b9fc5a65540724
2016-11-15 09:35:14 -05:00
Henrik Skupin 09e17e0d52 Bug 1316707 - Remove Marionette B2G update tests. r=rstrong
MozReview-Commit-ID: Kh0i6hWTZTp

--HG--
extra : rebase_source : aa68ebb186f11ff3202b9079430b738eb4a4f4f3
2016-11-10 22:55:29 +01:00
Iris Hsiao 325956f7b5 Backed out changeset 52cfc93236f0 (bug 1314378) to fix the bustage after backed out bug 1314955 2016-11-16 15:30:47 +08:00
Wes Kocher 5f39e9c1f2 Backed out changeset 5cd867e3258b (bug 1317674) for make check failures a=backout 2016-11-15 18:16:22 -08:00
aleth fb59562f25 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
Benjamin Smedberg 80690f1ce8 Build bustage fixup from bug 1314378 and bug 1314955 - remove things from the whitelist which are no longer built, r=lumpy on a CLOSED TREE
--HG--
extra : amend_source : c9244c8f26aa1255391f3db07fb2f4d8caa15ecd
2016-11-15 17:29:41 -05:00
Matthew Gregan 81105ff0ba Bug 1314514 - Update libcubeb to 8bab182c. r=padenot
--HG--
rename : media/libcubeb/tests/common.h => media/libcubeb/gtest/common.h
rename : media/libcubeb/tests/moz.build => media/libcubeb/gtest/moz.build
rename : media/libcubeb/tests/test_audio.cpp => media/libcubeb/gtest/test_audio.cpp
rename : media/libcubeb/tests/test_devices.cpp => media/libcubeb/gtest/test_devices.cpp
rename : media/libcubeb/tests/test_duplex.cpp => media/libcubeb/gtest/test_duplex.cpp
rename : media/libcubeb/tests/test_record.cpp => media/libcubeb/gtest/test_record.cpp
rename : media/libcubeb/tests/test_resampler.cpp => media/libcubeb/gtest/test_resampler.cpp
rename : media/libcubeb/tests/test_sanity.cpp => media/libcubeb/gtest/test_sanity.cpp
rename : media/libcubeb/tests/test_tone.cpp => media/libcubeb/gtest/test_tone.cpp
2016-11-11 15:01:56 +13:00
Sebastian Hengst e1115d457e Backed out changeset fb3473c1770d (bug 1316450) for landing on wrong integration tree. r=backout on a CLOSED TREE 2016-11-15 14:11:00 +01:00
Sebastian Hengst 511303c11e Bug 1316450 - Enforce that nothing new depends on the XPCOM glue: Re-add sdp_unittests because its removal hasn't been merged around yet. r=bustage-fix a=bustage-fix on a CLOSED TREE
MozReview-Commit-ID: KxrK2dKjhia
2016-11-15 14:04:05 +01:00
Sebastian Hengst d980649453 Bug 1316450 - Enforce that nothing new depends on the XPCOM glue: Remove sdp_unittests, not sdp_file_parser. r=bustage a=bustage on a CLOSED TREE
MozReview-Commit-ID: Kg0822lNuc7
2016-11-15 13:54:00 +01:00
Sebastian Hengst fc95af0673 Bug 1316450 - Enforce that nothing new depends on the XPCOM glue: Remove sdp_unittests (removed in bug 1316886) and TestMinStringAPI (removed in bug 1316732). r=bustage-fix a=bustage-fix on a CLOSED TREE
MozReview-Commit-ID: FEsOFc6Jvp1
2016-11-15 13:44:31 +01:00
Mike Hommey ce8408bddc Bug 1316450 - Enforce that nothing new depends on the XPCOM glue. r=gps
--HG--
extra : rebase_source : 9b276d9f8eccd058001a87acc473d3065d7595c2
2016-11-10 08:41:48 +09:00
Mike Hommey 3e149877ae Bug 1316844 - Make the linter detect unused dependencies. r=chmanchester
--HG--
extra : rebase_source : 44fea4820c95b5e0d274fa1b3bf6ce563af2c30a
2016-11-11 12:52:58 +09:00
Mike Hommey 1844bdb554 Bug 1316844 - Improve function unwrapping to properly cover templates. r=chmanchester
--HG--
extra : rebase_source : 35b56b6a2507bf18ef8182c3d8852bad5d13075f
2016-11-11 11:32:43 +09:00