gecko-dev/build
Nika Layzell 2f62d8c857 Bug 1751948 - Part 6: Add basic support for running IPDL unit tests during gtest, r=ipc-reviewers,andi,handyman
This patch introduces a new system for building IPDL unit tests, which is
roughly inspired by the old cxx unit test design, however designed to work with
gtest. It re-uses the existing IPDLUnitTest process type, using static
constructors only present in xul-gtest to register child actor constructors and
ProcessChild implementations to avoid bloating xul.

The IPDLUnitTest actor is used as a backchannel to communicate test failures
from the child process back to the parent process, and manage the test's async
lifecycle more reliably.

The IPDLUnitTest process also needed to have various properties about how it was
initialized adjusted:

* The IPDLUnitTest process should now always load xul-gtest when running
  gtests, by using the "Self" process type and adding a DYLD_LIBRARY_PATH override
  on macOS where the "Self" process type cannot be used.
* The IPDLUnitTest process now initializes minimal XPCOM, and runs a
  frankeneventloop to allow it to use XPCOM event loop structures such as
  SpinEventLoopUntil in tests.
* Support for creating IPDLUnitTest processes on Android was added, as these
  tests had never run on android before.

Differential Revision: https://phabricator.services.mozilla.com/D137170
2022-02-28 21:01:49 +00:00
..
autoconf Bug 1756570 - Refresh config.guess and config.sub from upstream. r=glandium 2022-02-25 02:04:13 +00:00
build-clang Bug 1755834 - Fix for clang-tidy bustage. r=glandium 2022-02-18 10:04:19 +02:00
build-rust Bug 1723016 - Update builders to rustc 1.54. r=firefox-build-system-reviewers,nalexander 2021-08-03 02:03:32 +00:00
clang-plugin Bug 1751948 - Part 6: Add basic support for running IPDL unit tests during gtest, r=ipc-reviewers,andi,handyman 2022-02-28 21:01:49 +00:00
compare-mozconfig
debian-packages Bug 1750599 - Apply valgrind upstream patch that increases performance with --track-origins=yes. r=firefox-build-system-reviewers,mhentges 2022-01-19 22:27:47 +00:00
docs Bug 1753413 - fx doc: Remove whitespaces, trailing lines & windows CR r=andi,perftest-reviewers,sparky 2022-02-03 18:34:58 +00:00
gyp_includes
liblowercase
macosx Backed out changeset 572b175efb09 (bug 1696504) for causing regressions. a=backout 2021-12-01 19:48:29 +02:00
moz.configure Bug 1753182: Get realpath of Python during configure r=glandium 2022-02-28 16:12:41 +00:00
package/mac_osx Bug 1740631 - Add requirements-plist-url to mac signing payloads, r=aki,glandium 2022-01-17 15:36:38 +00:00
pgo Bug 1748409 - regenerate expiring test certificates for 2022 r=jschanck 2022-01-07 02:13:06 +00:00
rust Bug 1751331 - Add a mozbuild crate that exposes some build configuration items. r=firefox-build-system-reviewers,andi 2022-01-25 21:29:50 +00:00
sanitizers
sparse-profiles Bug 1749967 - Automated recording for android r=perftest-reviewers,sparky 2022-02-21 07:32:13 +00:00
tests/cram
unix Bug 1708787 - Package UBSan runtime with MacOS builds. r=glandium 2022-01-14 14:47:15 +00:00
valgrind Bug 1754978 - Part 1. Refactor CompositableHandle infrastructure to allow in-process driven handles. r=sotaro 2022-02-18 15:59:12 +00:00
win32 Backed out changeset e1b946a41694 (bug 1617283) for audio related crashes and hangs (bug 1755700, bug 1755717). a=backout 2022-02-16 18:14:02 +02:00
win64 Backed out changeset e1b946a41694 (bug 1617283) for audio related crashes and hangs (bug 1755700, bug 1755717). a=backout 2022-02-16 18:14:02 +02:00
win64-aarch64 Bug 1751811 - Stop installing msdia140.dll. r=firefox-build-system-reviewers,andi 2022-01-25 20:01:37 +00:00
workspace-hack
__init__.py
.gdbinit Bug 1730022 - Improve debuggability of nsIContent. r=smaug 2021-09-10 16:39:15 +00:00
.gdbinit.loader
.gdbinit.py.in
.lldbinit.in
appini_header.py
application.ini.in
binary-location.mk
build_virtualenv_packages.txt Bug 1730712: Don't duplicate common virtualenv requirements r=ahal 2022-01-13 20:49:08 +00:00
buildconfig.py
cargo-host-linker
cargo-host-linker.bat
cargo-linker Bug 1747298 - Use CXX for Cargo linking when necessary. r=glandium 2022-01-11 11:26:39 +00:00
cargo-linker.bat
checksums.py
common_virtualenv_packages.txt Bug 1730712: Don't duplicate common virtualenv requirements r=ahal 2022-01-13 20:49:08 +00:00
defines.sh
docs_virtualenv_packages.txt Bug 1730712: Don't duplicate common virtualenv requirements r=ahal 2022-01-13 20:49:08 +00:00
dumbmake-dependencies
gecko_templates.mozbuild
gen_symverscript.py
gen_test_packages_manifest.py
gn.mozbuild
gyp_base.mozbuild
gyp.mozbuild Bug 1412333 - Remove traces of MULTI_MONITOR_SCREENSHARE. r=ng 2022-01-26 08:52:17 +00:00
ipython_virtualenv_packages.txt Bug 1731836: Simplify ./mach python arguments r=ahal 2021-11-24 20:06:33 +00:00
mach_initialize.py Bug 1715900 - Add a mach test-interventions command for testing webcompat interventions; r=jgraham,mhentges 2022-02-15 15:07:18 +00:00
mach_virtualenv_packages.txt Bug 1754474 - Update to Glean 44.0.0 and glean_parser 5.0.1. r=janerik 2022-02-15 13:35:07 +00:00
midl.py Bug 1629184 - Preprocess MIDL inputs manually. r=firefox-build-system-reviewers,nalexander 2022-01-25 22:43:56 +00:00
moz-automation.mk
moz.build Bug 1751331 - Add a mozbuild crate that exposes some build configuration items. r=firefox-build-system-reviewers,andi 2022-01-25 21:29:50 +00:00
mozconfig.artifact
mozconfig.artifact.automation
mozconfig.automation
mozconfig.cache
mozconfig.clang-cl
mozconfig.comm-support
mozconfig.common
mozconfig.common.override
mozconfig.lld-link
mozconfig.no-compile Bug 1751811 - Stop installing msdia140.dll. r=firefox-build-system-reviewers,andi 2022-01-25 20:01:37 +00:00
mozconfig.rust
mozconfig.win-common
non-unified-compat Bug 1726626 - Move gfx/wgpu into a 3rd party dependency r=jgilbert,bholley 2021-09-03 16:52:08 +00:00
perftest-test_virtualenv_packages.txt Bug 1732795: Install coverage using pip r=ahal 2022-02-18 14:27:18 +00:00
psutil_requirements.in Backed out 3 changesets (bug 1717051) for causing gecko decision failure. CLOSED TREE 2021-07-30 02:15:50 +03:00
psutil_requirements.txt Backed out 3 changesets (bug 1717051) for causing gecko decision failure. CLOSED TREE 2021-07-30 02:15:50 +03:00
psutil_virtualenv_packages.txt Bug 1731836: Simplify ./mach python arguments r=ahal 2021-11-24 20:06:33 +00:00
python-test_virtualenv_packages.txt Bug 1748737: Bump attrs to be compatible with mochitest r=ahal 2022-01-21 18:21:56 +00:00
qemu-wrap
RunCbindgen.py Bug 1755956 - Fix python black failure. CLOSED TREE 2022-02-18 17:40:47 +02:00
templates.mozbuild Bug 1731976 - Generally allow warnings in security/rlbox. r=firefox-build-system-reviewers,andi 2021-10-08 09:48:38 +00:00
update-settings.ini
upload_generated_sources.py
upload.py Bug 1725895: Add support for MSYS2 MozillaBuild r=glandium 2022-01-06 06:49:47 +00:00
variables.py
webcompat_virtualenv_packages.txt Bug 1715900 - Add a mach test-interventions command for testing webcompat interventions; r=jgraham,mhentges 2022-02-15 15:07:18 +00:00
windows_toolchain.py
zstandard_requirements.in Bug 1751663: Bump maximum zstandard version to 0.17.0 r=firefox-build-system-reviewers,glandium 2022-01-26 16:11:59 +00:00
zstandard_requirements.txt Bug 1751663: Bump maximum zstandard version to 0.17.0 r=firefox-build-system-reviewers,glandium 2022-01-26 16:11:59 +00:00